Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle wrap-arouns in time procesing #25

Open
divanchykhin opened this issue Oct 9, 2015 · 0 comments
Open

handle wrap-arouns in time procesing #25

divanchykhin opened this issue Oct 9, 2015 · 0 comments

Comments

@divanchykhin
Copy link
Contributor

Currently we admit that time-representing value can wrap-around with time. In this case, if certain time period is relatively small (less than 1/2 of time counter cycle), time point represented as 0xF0 is rather before than that represented as 0x01; respectively, simple comparison 0x01 < 0xF0 will rather be misleading. One way to address this problem is to (1) reserve value 0xFF to denote "infinite future"; (2) assume that measured intervals are less than 1/2 of time counter period; and (3) compare values based on their difference in GF(time counter period) rather than based on their correspondence as integers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant