projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IOMultiplexer] added possibility for higher resolution timer (select backend - all...
[NeonServV5.git]
/
src
/
test
/
timer
/
iotest.c
diff --git
a/src/test/timer/iotest.c
b/src/test/timer/iotest.c
index 02b8c4bcbce4b4ad80d199f6c8464c229e824b3d..7ce2d44e6acc872b4ef0137b53b0840b06741274 100644
(file)
--- a/
src/test/timer/iotest.c
+++ b/
src/test/timer/iotest.c
@@
-41,6
+41,8
@@
static void add_timer(int ms) {
int main(int argc, char *argv[]) {
iolog_backend = io_log;
+ iohandler_set(IOHANDLER_SETTING_HIGH_PRECISION_TIMER, 1);
+
gettimeofday(&test_clock1, NULL);
gettimeofday(&test_clock2, NULL);
add_timer(TEST_DURATION);