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.
time.time
1 parent e86ac72 commit 401032aCopy full SHA for 401032a
Doc/library/time.rst
@@ -712,13 +712,18 @@ Functions
712
713
Clock:
714
715
- * On Windows, call ``GetSystemTimeAsFileTime()``.
+ * On Windows, call ``GetSystemTimePreciseAsFileTime()``.
716
* Call ``clock_gettime(CLOCK_REALTIME)`` if available.
717
* Otherwise, call ``gettimeofday()``.
718
719
Use :func:`time_ns` to avoid the precision loss caused by the :class:`float`
720
type.
721
722
+.. versionchanged:: 3.13
723
+
724
+ On Windows, calls ``GetSystemTimePreciseAsFileTime()`` instead of
725
+ ``GetSystemTimeAsFileTime()``.
726
727
728
.. function:: time_ns() -> int
729
0 commit comments