[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] debugging: print ticks-per-second on windows. is it 0?
commit 264fb7eb82f5df59247f1e2f4ea906fd9a0def61
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits