diff options
-rw-r--r-- | Modules/_lsprof.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index 81d88ea..8b74e38 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -27,9 +27,9 @@ hpTimerUnit(void) { LARGE_INTEGER li; if (QueryPerformanceFrequency(&li)) - return 1000.0 / li.QuadPart; + return 1.0 / li.QuadPart; else - return 0.001; /* unlikely */ + return 0.000001; /* unlikely */ } #else /* !MS_WINDOWS */ @@ -63,7 +63,7 @@ hpTimer(void) static double hpTimerUnit(void) { - return 0.001; + return 0.000001; } #endif /* MS_WINDOWS */ |