Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4549c4 commit 2bc23f5Copy full SHA for 2bc23f5
1 file changed
Modules/_lsprof.c
@@ -27,9 +27,9 @@ hpTimerUnit(void)
27
{
28
LARGE_INTEGER li;
29
if (QueryPerformanceFrequency(&li))
30
- return 1000.0 / li.QuadPart;
+ return 1.0 / li.QuadPart;
31
else
32
- return 0.001; /* unlikely */
+ return 0.000001; /* unlikely */
33
}
34
35
#else /* !MS_WINDOWS */
@@ -63,7 +63,7 @@ hpTimer(void)
63
static double
64
hpTimerUnit(void)
65
66
- return 0.001;
+ return 0.000001;
67
68
69
#endif /* MS_WINDOWS */
0 commit comments