diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 00:38:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-04 00:38:12 +0000 |
commit | ad8f4725b4d41c652dd414037bec59cc9aa919a4 (patch) | |
tree | 64237b77365d5be52cc1541ff9ef037c96a9ce65 /src/tests/test-switch.c | |
parent | b6b314d2dc954338fd67fcb1f616b1bdcaba0e62 (diff) | |
download | nsss-ad8f4725b4d41c652dd414037bec59cc9aa919a4.tar.gz nsss-ad8f4725b4d41c652dd414037bec59cc9aa919a4.tar.xz nsss-ad8f4725b4d41c652dd414037bec59cc9aa919a4.zip |
Use stopwatch where applicable
Diffstat (limited to 'src/tests/test-switch.c')
-rw-r--r-- | src/tests/test-switch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/test-switch.c b/src/tests/test-switch.c index 0133777..51d76ad 100644 --- a/src/tests/test-switch.c +++ b/src/tests/test-switch.c @@ -20,6 +20,7 @@ int main (void) genalloc ga = GENALLOC_ZERO ; tain_t deadline ; PROG = "test-switch" ; + tain_now_set_stopwatch() ; tain_now_g() ; tain_from_millisecs(&deadline, 10000) ; tain_add_g(&deadline, &deadline) ; |