Explorar el Código

debugging: print ticks-per-second on windows. is it 0?

Nick Mathewson hace 9 años
padre
commit
264fb7eb82
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/common/compat_time.c

+ 1 - 0
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;