1 2 3 4 --------------------------------------- 5 | testing CLOCK MONOTONIC 6 --------------------------------------- 7 8 relative timer test (at 500 ms) ... 9 waiting timer ... 10 got timer ticks (1) after 0.5 s 11 absolute timer test (at 500 ms) ... 12 waiting timer ... 13 got timer ticks (1) after 0.5 s 14 sequential timer test (100 ms clock) ... 15 sleeping one second ... 16 timerfd_gettime returned: 17 it_value = 0.1 it_interval = 0.1 18 sleeping 1 second ... 19 waiting timer ... 20 got about 20 timer ticks after about 2s 21 O_NONBLOCK test ... 22 waiting timer (flush the single tick) ... 23 got timer ticks (1) after 0.1 s 24 success 25 26 27 --------------------------------------- 28 | testing CLOCK REALTIME 29 --------------------------------------- 30 31 relative timer test (at 500 ms) ... 32 waiting timer ... 33 got timer ticks (1) after 0.5 s 34 absolute timer test (at 500 ms) ... 35 waiting timer ... 36 got timer ticks (1) after 0.5 s 37 sequential timer test (100 ms clock) ... 38 sleeping one second ... 39 timerfd_gettime returned: 40 it_value = 0.1 it_interval = 0.1 41 sleeping 1 second ... 42 waiting timer ... 43 got about 20 timer ticks after about 2s 44 O_NONBLOCK test ... 45 waiting timer (flush the single tick) ... 46 got timer ticks (1) after 0.1 s 47 success 48 49 HEAP SUMMARY: 50 in use at exit: 0 bytes in 0 blocks 51 total heap usage: 0 allocs, 0 frees, 0 bytes allocated 52 53 For a detailed leak analysis, rerun with: --leak-check=full 54 55 For counts of detected and suppressed errors, rerun with: -v 56 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 57