diff options
Diffstat (limited to 'collectors/idlejitter.plugin/plugin_idlejitter.c')
-rw-r--r-- | collectors/idlejitter.plugin/plugin_idlejitter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/idlejitter.plugin/plugin_idlejitter.c b/collectors/idlejitter.plugin/plugin_idlejitter.c index 3fe3b0306..c59541ecb 100644 --- a/collectors/idlejitter.plugin/plugin_idlejitter.c +++ b/collectors/idlejitter.plugin/plugin_idlejitter.c @@ -54,9 +54,9 @@ void *cpuidlejitter_main(void *ptr) { if(netdata_exit) break; while(elapsed < update_every_ut) { - now_monotonic_timeval(&before); + now_monotonic_high_precision_timeval(&before); sleep_usec(sleep_ut); - now_monotonic_timeval(&after); + now_monotonic_high_precision_timeval(&after); usec_t dt = dt_usec(&after, &before); elapsed += dt; |