[tor-commits] [tor/master] debugging: print ticks-per-second on windows. is it 0?
nickm at torproject.org
nickm at torproject.org
Tue Jul 26 13:45:00 UTC 2016
commit 264fb7eb82f5df59247f1e2f4ea906fd9a0def61
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Jul 26 09:44:41 2016 -0400
debugging: print ticks-per-second on windows. is it 0?
---
src/common/compat_time.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 9fac0bc..da30a41 100644
--- a/src/common/compat_time.c
+++ b/src/common/compat_time.c
@@ -404,6 +404,7 @@ monotime_init_internal(void)
tor_assert(li.QuadPart);
puts("win32-mii-6");
ticks_per_second = li.QuadPart;
+ printf(I64_FORMAT" ticks per second\n", I64_PRINTF_ARG(ticks_per_second));
last_pctr = 0;
pctr_offset = 0;
More information about the tor-commits
mailing list