projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added silc_timer_tick and silc_timer_synchronize.
[crypto.git]
/
lib
/
silcutil
/
tests
/
test_silctimer.c
diff --git
a/lib/silcutil/tests/test_silctimer.c
b/lib/silcutil/tests/test_silctimer.c
index f7354d3b8e1185f197c94b9e50b2f5a4349ff4a3..11e17ed3228d0cda2760cb9b779c20e4b6bae2ed 100644
(file)
--- a/
lib/silcutil/tests/test_silctimer.c
+++ b/
lib/silcutil/tests/test_silctimer.c
@@
-73,6
+73,10
@@
int main(int argc, char **argv)
if (!schedule)
goto err;
+ silc_timer_synchronize(&timer);
+ SILC_LOG_DEBUG(("sync_diff: %d", timer.sync_diff));
+ SILC_LOG_DEBUG(("sync_tdiff: %d", timer.sync_tdiff));
+
SILC_LOG_DEBUG(("Start timer"));
silc_timer_start(&timer);