[Bug 1894] missing a tick in _Timespec_To_ticks
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Tue Aug 9 16:18:24 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1894
--- Comment #6 from Gedare <giddyup44 at yahoo.com> 2011-08-09 11:18:23 CDT ---
I'm confused why you add 10000000 in the following line. I also have a hard
time figuring out what the expected output should be, should it be any number
greater than 10ms (expressed in ns)?
printf("%d: sleep %d ns\n",i,
(tv.tv_sec-to.tv_sec)*1000000000+tv.tv_usec*1000-to.tv_nsec+10000000);
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list