From d78474c6f60acf05f119c9eb7c4496824cd01aa5 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 14 Apr 2012 01:14:34 +0200 Subject: [PATCH] PEP 418: Add CLOCK_BOOTTIME precision in Python --- pep-0418.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pep-0418.txt b/pep-0418.txt index 2971156c6..5045a63f7 100644 --- a/pep-0418.txt +++ b/pep-0418.txt @@ -730,6 +730,7 @@ CLOCK_HIGHRES SunOS 5.11 2 ns 2 µs CLOCK_MONOTONIC Linux 3.2 1 ns 2 µs CLOCK_MONOTONIC SunOS 5.11 2 ns 3 µs CLOCK_MONOTONIC_RAW Linux 3.2 1 ns 3 µs +CLOCK_BOOTTIME Linux 3.3 1 ns 3 µs CLOCK_MONOTONIC FreeBSD 8.2 11 ns 7 µs CLOCK_MONOTONIC OpenBSD 5.0 10 ms 7 µs QueryPerformanceCounter Windows Seven 10 ns 9 µs @@ -1045,7 +1046,7 @@ Name Operating system Precision Precision in Python getrusage(RUSAGE_SELF) FreeBSD 8.2 \- 1 µs CLOCK_PROCESS_CPUTIME_ID Linux 3.2 1 ns 3 µs getrusage(RUSAGE_SELF) SunOS 5.11 \- 3 µs -getrusage(RUSAGE_SELF) Linux 3.0 4 ms 4 ms +getrusage(RUSAGE_SELF) Linux 3.3 \- 1 ms getrusage(RUSAGE_SELF) OpenBSD 5.0 \- 8 ms clock() FreeBSD 8.2 8 ms 8 ms clock() Linux 3.2 1 µs 10 ms