Victor Stinner
dba42c97a3
PEP 418: cleanup pseudo-code; mention clock_getcpuclockid()
...
* Write _win_perf_counter() to factorize and simplify clock() and
process_time() pseudo-code
* Don't use os.times() but _time.times() to not have to check for the platform
* clock() retries QueryPerformanceCounter() each time it is called, even if
it failed
2012-04-17 13:42:05 +02:00
Victor Stinner
fbab510ea2
PEP 418: time.perf_counter() is always available
2012-04-16 13:58:24 +02:00
Victor Stinner
93f8b5eb63
PEP 418: Add two alternative names for time.perf_counter()
2012-04-16 13:53:24 +02:00
Victor Stinner
c8d84d52b8
PEP 418: Add link to the "gettimeofday() should never be used to measure time" article
...
Mention also authors of other links.
2012-04-16 12:33:05 +02:00
Victor Stinner
eb118a65fe
PEP 416: Mention the new types.MappingProxyType added to Python 3.3
2012-04-16 01:05:52 +02:00
Victor Stinner
f05753e8a3
PEP 418
...
* time.perf_counter() is not necessary monotonic; format code
* Replace system clock by system time to reuse the expression of the glossary
* If CLOCK_HIGHRES is available, time.monotonic() only uses it and does not
fallback to CLOCK_MONOTONIC because CLOCK_MONOTONIC may not be available
at the same time
* Rewrite time.perf_counter(), time.process_time() and time.time() doc
* Reorder "fallback to system time" alternatives
2012-04-15 17:06:07 +02:00
Victor Stinner
539ae6b9ea
PEP 418: Add last comments
...
* Indicate if a clock is system-wide or process-wide
* Add time.metronomic() alternative name
* Explain why "steady" name was not chosen
2012-04-15 15:39:48 +02:00
Victor Stinner
51b61fa439
PEP 418: Cameron Simpson rewrote the text of his alternative
2012-04-15 11:46:01 +02:00
Victor Stinner
b6f2709957
PEP 418: Cleanup the Process Time table
2012-04-14 02:45:49 +02:00
Victor Stinner
e7dd82585b
PEP 418: Reorganize sections, move Alternatives after Python functions
2012-04-14 02:26:35 +02:00
Victor Stinner
e15486af9e
PEP 418: Rephrase sleep/suspend paragraphs
2012-04-14 02:22:50 +02:00
Victor Stinner
58bb56489d
PEP 418: Fill "Include suspend" column of all tables
2012-04-14 02:08:16 +02:00
Victor Stinner
d78474c6f6
PEP 418: Add CLOCK_BOOTTIME precision in Python
2012-04-14 01:14:34 +02:00
Victor Stinner
f0c1353bde
PEP 418: Cleanup info on precision
2012-04-14 00:47:00 +02:00
Victor Stinner
44f95fb601
PEP 418: Complete "Precision in Python" column in the different tables
2012-04-14 00:17:54 +02:00
Victor Stinner
165038702e
PEP 418: Add precision in Python of FreeBSD clocks
2012-04-13 23:24:44 +02:00
Victor Stinner
5837b185c5
PEP 418: Add precision in Python; clock() will not be removed; add users
2012-04-13 22:07:36 +02:00
Victor Stinner
afc9ba4a20
PEP 418: time.process_time() uses os.times() if available
2012-04-13 14:04:37 +02:00
Victor Stinner
61b5e2476c
PEP 418: Remove duplicate info about clock resolution
2012-04-13 02:16:55 +02:00
Victor Stinner
03cd4d6a64
PEP 418: time.process_time() falls back on other clock instead of falling
2012-04-13 01:21:00 +02:00
Victor Stinner
e0f6584338
PEP 418: Add info on notification of system power state changes
2012-04-12 23:56:58 +02:00
Victor Stinner
5aaf156f23
PEP 418: fix typo (some => sum)
2012-04-12 22:42:54 +02:00
Victor Stinner
e33c2a9138
PEP 418: On Windows, clock() does include time elapsed during a sleep
2012-04-12 22:42:11 +02:00
Victor Stinner
6708f4231a
PeP 418: Move the CLOCK_BOOTTIME paragraph
2012-04-12 22:26:43 +02:00
Georg Brandl
e0a2434b9f
PEP 418: editing.
2012-04-12 19:12:48 +02:00
Victor Stinner
cff256bb94
PEP 418: Add CLOCK_BOOTTIME to monotonic clocks
2012-04-12 14:01:02 +02:00
Victor Stinner
a724856238
PEP 418: Add time.perf_counter(), time.process_time(), deprecate time.clock()
...
Reorder also sections.
2012-04-12 13:38:06 +02:00
Victor Stinner
288203ec0e
PEP 418: Make it more explicit than realtime does include time elapsed during
...
sleep, whereas process time does not.
2012-04-12 01:43:22 +02:00
Victor Stinner
e830be9f6e
PEP 418: Use different names for manpage links
2012-04-12 01:26:17 +02:00
Victor Stinner
2d861df8bf
PEP 418: Move Linux clocksource and FreeBSD timecounter
...
Remove duplicate info on hardware clocks
2012-04-12 01:22:23 +02:00
Victor Stinner
976aae2d30
PEP 418: Remove duplicate definitions
2012-04-12 01:12:42 +02:00
Victor Stinner
80391681f6
PEP 418: Integrate Jim Jewett's Glossary
2012-04-12 01:06:31 +02:00
Victor Stinner
f485058ac7
PEP 418: Fix reST syntax of a title
2012-04-12 00:41:42 +02:00
Victor Stinner
109ea46bfa
PEP 418: Replace accuracy with precision
2012-04-12 00:39:22 +02:00
Victor Stinner
e8db274322
PEP 418: Fix syntax of a link
2012-04-12 00:36:02 +02:00
Victor Stinner
61c7664195
PEP 418: Mention the issue #14555
2012-04-12 00:34:32 +02:00
Victor Stinner
bc409e7511
PEP 418: Add bench_time.c
2012-04-12 00:32:44 +02:00
Victor Stinner
a15d634866
PEP 418: another benchmark on FreeBSD
...
Add also more info on FreeBSD timecounters
2012-04-12 00:19:16 +02:00
Victor Stinner
a7be2f184d
PEP 418: Add a table with performances of TSC, ACPI PM and HPET clocks
2012-04-11 22:48:14 +02:00
Victor Stinner
552c8c82ec
PEP 418: Mention SMI issues
2012-04-11 14:04:23 +02:00
Victor Stinner
165c2275bc
PEP 418: Add time.clock(), fix typos, mention issue #14309
2012-04-11 13:06:33 +02:00
Victor Stinner
df6ee0edee
PEP 418: Rewrite time.monotonic() definition
2012-04-11 02:04:51 +02:00
Victor Stinner
4d18f06334
PEP 418: Rewrite the rationale
2012-04-11 01:37:04 +02:00
Victor Stinner
bb348a9291
PEP 418: Add a linkg to GetSystemTimeAsFileTime() doc
2012-04-11 01:23:28 +02:00
Victor Stinner
fb28ab8af2
PEP 418: mach_absolute_time() doesn't include suspend time
2012-04-11 00:58:33 +02:00
Victor Stinner
6b47f7b960
PEP 418: Add info about sleep/suspend
2012-04-11 00:42:54 +02:00
Victor Stinner
fef248a199
PEP 418: Add CLOCK_BOOTTIME and FreeBSD kern.timecounter.hardware sysctl
2012-04-10 13:58:42 +02:00
Barry Warsaw
1edb8f9940
PEP 274 has been updated to reflect current reality.
2012-04-09 10:42:15 -04:00
Victor Stinner
954c3684ce
PEP 418: Re-add the pseudo-code for time.perf_counter()
2012-04-09 13:21:34 +02:00
Victor Stinner
94d094d791
PEP 418: Move resolution and accuracy definitions to the Definition section
2012-04-09 13:04:15 +02:00