HI guys.
I'm doing some tests about clock_gettime.
And I found that clock_gettime will be affected by hwclock.
It makes clock_gettime slip advance some milliseconds.
Actually, each line prints out every 1ms.
$ ./a.out -r CLOCK_MONOTONIC
130 ↵
Using delay=1 ms
HI guys.
I'm doing some tests about clock_gettime.
And I found that clock_gettime will be affected by hwclock.
It makes clock_gettime slip advance some milliseconds.
Actually, each line prints out every 1ms.
$ ./a.out -r CLOCK_MONOTONIC
130 ↵
Using delay=1 ms
2 matches
Mail list logo