diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-21 22:56:49 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-04-22 00:54:18 +0300 |
commit | 61d08b1418b6c99a7adb4d0faa6e8f189ec0b173 (patch) | |
tree | b1aa0e006f5ce1ff679232bc67242dd3486ff28b /src/clocks.h | |
parent | fe97f0996de5a4f8c4c416871cba279ab81be297 (diff) |
improved idlejitter plugin; now it calculates min, max and average
Diffstat (limited to 'src/clocks.h')
-rw-r--r-- | src/clocks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clocks.h b/src/clocks.h index 197b5431ff..ca5715254f 100644 --- a/src/clocks.h +++ b/src/clocks.h @@ -55,6 +55,8 @@ typedef usec_t heartbeat_t; #define USEC_PER_SEC 1000000ULL #define MSEC_PER_SEC 1000ULL +#define USEC_PER_MS 1000ULL + #ifndef HAVE_CLOCK_GETTIME /* Fallback function for POSIX.1-2001 clock_gettime() function. * |