8000
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 85790f4 commit 3b6c7b3Copy full SHA for 3b6c7b3
Python/pytime.c
@@ -55,6 +55,14 @@
55
#endif
56
57
58
+#ifdef MS_WINDOWS
59
+static _PyTimeFraction py_qpc_base = {0, 0};
60
+
61
+// Forward declaration
62
+static int py_win_perf_counter_frequency(_PyTimeFraction *base, int raise_exc);
63
+#endif
64
65
66
static PyTime_t
67
_PyTime_GCD(PyTime_t x, PyTime_t y)
68
{
@@ -1056,8 +1064,6 @@ py_win_perf_counter_frequency(_PyTimeFraction *base, int raise_exc)
1056
1064
}
1057
1065
1058
1066
1059
-static _PyTimeFraction py_qpc_base = {0, 0};
1060
-
1061
1067
// N.B. If raise_exc=0, this may be called without the GIL.
1062
1068
static int
1063
1069
py_get_win_perf_counter(PyTime_t *tp, _Py_clock_info_t *info, int raise_exc)
0 commit comments