diff options
Diffstat (limited to 'src/entropy/hres_timer/hres_timer.cpp')
-rw-r--r-- | src/entropy/hres_timer/hres_timer.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/entropy/hres_timer/hres_timer.cpp b/src/entropy/hres_timer/hres_timer.cpp index c7a8404cf..7295a119b 100644 --- a/src/entropy/hres_timer/hres_timer.cpp +++ b/src/entropy/hres_timer/hres_timer.cpp @@ -43,14 +43,26 @@ void High_Resolution_Timestamp::poll(Entropy_Accumulator& accum) CLOCK_POLL(CLOCK_REALTIME); #endif +#if defined(CLOCK_REALTIME_COARSE) + CLOCK_POLL(CLOCK_REALTIME_COARSE); +#endif + #if defined(CLOCK_MONOTONIC) CLOCK_POLL(CLOCK_MONOTONIC); #endif +#if defined(CLOCK_MONOTONIC_COARSE) + CLOCK_POLL(CLOCK_MONOTONIC_COARSE); +#endif + #if defined(CLOCK_MONOTONIC_RAW) CLOCK_POLL(CLOCK_MONOTONIC_RAW); #endif +#if defined(CLOCK_BOOTTIME) + CLOCK_POLL(CLOCK_BOOTTIME); +#endif + #if defined(CLOCK_PROCESS_CPUTIME_ID) CLOCK_POLL(CLOCK_PROCESS_CPUTIME_ID); #endif |