diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-27 11:44:42 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-27 11:44:42 -0500 |
| commit | c016b6c796fe3a8520fdd0f30ef377cbb73e0037 (patch) | |
| tree | 78c3b29b41860c367390bba20a4a4d16fbaf3469 /tests/test-timer-performance.c | |
| parent | 75688c44d98af271ca4eb4f3133ede9e7ae709bb (diff) | |
| parent | aceb2285dad63dca7bba7177012aabdb63e1cca5 (diff) | |
Merge remote-tracking branch 'origin/master' into pr/111
Diffstat (limited to 'tests/test-timer-performance.c')
| -rw-r--r-- | tests/test-timer-performance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-timer-performance.c b/tests/test-timer-performance.c index ee45ede6ac..a7d09beecc 100644 --- a/tests/test-timer-performance.c +++ b/tests/test-timer-performance.c @@ -61,7 +61,7 @@ int main(int argc, char **argv) for (i = 0; i < SCHEDULE_TIMERS; i++) thread_cancel(timers[i]); - quagga_gettime(QUAGGA_CLK_MONOTONIC, &tv_start); + monotime(&tv_start); for (i = 0; i < SCHEDULE_TIMERS; i++) { @@ -72,7 +72,7 @@ int main(int argc, char **argv) NULL, interval_msec); } - quagga_gettime(QUAGGA_CLK_MONOTONIC, &tv_lap); + monotime(&tv_lap); for (i = 0; i < REMOVE_TIMERS; i++) { @@ -84,7 +84,7 @@ int main(int argc, char **argv) timers[index] = NULL; } - quagga_gettime(QUAGGA_CLK_MONOTONIC, &tv_stop); + monotime(&tv_stop); t_schedule = 1000 * (tv_lap.tv_sec - tv_start.tv_sec); t_schedule += (tv_lap.tv_usec - tv_start.tv_usec) / 1000; |
