Commit Graph

127 Commits

Author SHA1 Message Date
Victor Stinner 92347731ad PEP 418: Replace adjusted with adjustable in time.get_clock_info() 2012-07-10 01:38:53 +02:00
Victor Stinner c50bbd6279 PEP 418: Update time.get_clock_info() according to the implementation 2012-05-02 14:00:30 +02:00
Georg Brandl 182f13fc2e PEP 418 is accepted and implemented, therefore Final. 2012-05-01 13:54:39 +02:00
Victor Stinner 8e4d5fcd79 PEP 418: time.get_clock_info() now returns an object 2012-04-29 02:26:42 +02:00
Victor Stinner 17b03b5db0 PEP 418: time.get_clock_info() has no more optional keys, all keys are mandatory 2012-04-29 01:42:18 +02:00
Victor Stinner 92e2f078f0 PEP 418: Cleanup the glossary
* <nanosecond> and <clock_monotonic> are not terms of the glossary
 * remove the useless definition of duration
 * monotonic: reading a monotonic clock is not slower than other clock
2012-04-28 10:59:31 +02:00
Victor Stinner 9c952d97bf PEP 418: Remove the unverified info about mach_timebase_info() 2012-04-28 03:21:26 +02:00
Victor Stinner bca0b715a5 PEP 418: Explain why Linux always announces a resolution of 1 nanosecond,
even if the hardware has a lower resolution
2012-04-26 23:35:48 +02:00
Victor Stinner f0a17ba540 PEP 418: typoe 2012-04-24 00:59:45 +02:00
Victor Stinner c2f96995d0 PEP 418: Replace misuse of precision with resolution 2012-04-24 00:30:23 +02:00
Victor Stinner 94fb568222 PEP 418: Replace "Resolution" column with "C Resolution", and "Precision" with
"OS Resolution"

Document also these two columns.
2012-04-24 00:24:08 +02:00
Victor Stinner 464a098160 PEP 418: Replace "Precision in Python" with "Python Resolution" 2012-04-24 00:14:51 +02:00
Victor Stinner 4535decca5 PEP 418: Stephen J. Turnbull's patch 3: complete the Glossary 2012-04-21 21:25:00 +02:00
Victor Stinner 323e44fb09 PEP 418: Stephen J. Turnbull's patch 2: english 2012-04-21 21:18:13 +02:00
Victor Stinner 9137ddbec3 PEP 418: Stephen J. Turnbull's patch: typos 2012-04-21 21:16:37 +02:00
Victor Stinner d0166c382d PEP 418: List limitations of this PEP 2012-04-21 02:36:52 +02:00
Victor Stinner d81d6016ba PEP 418: typo 2012-04-19 02:48:56 +02:00
Victor Stinner 542e684d78 PEP 418: Minor updates 2012-04-19 02:47:52 +02:00
Victor Stinner e1d068556d PEP 418: Add link to benchmarking programs used to fill tables 2012-04-19 01:28:22 +02:00
Victor Stinner 636c74aeca PEP 418: Replace definitions of Accuracy, Precision and Resolution in the
glossary with Stephen J. Turnbull's definitions
2012-04-19 01:12:50 +02:00
Benjamin Peterson 4ab4616c4a comma 2012-04-18 18:25:59 -04:00
Victor Stinner b839dc7b7b PEP 418: Rerun all benchmarks for the "Precision in Python" column 2012-04-18 23:59:02 +02:00
Victor Stinner 017c74ca0c PEP 418: Add a link to the Twisted monotonic clock issue
Reformat also "System Standby" section
2012-04-18 02:55:50 +02:00
Victor Stinner 9d58bea354 PEP 418: Fix pseudo-code of time.monotonic() on Mac OS X 2012-04-18 01:55:21 +02:00
Victor Stinner 107c498e3f PEP 418: Fix time.monotonic() pseudo-code for Mac
Use sys.platform, not os.name
2012-04-18 01:43:26 +02:00
Victor Stinner 54e4d4ccca PEP 418: time.process_time() uses CLOCK_PROF if available 2012-04-18 01:34:26 +02:00
Victor Stinner d506f12dc1 PEP 418: complete/update tables for OpenBSD and Windows 2012-04-18 01:14:38 +02:00
Victor Stinner 38da45e1bb PEP 418: Add benchmark results of Mac OS 10.6
Fix also clock_precision.py: catch clock_gettime() errors
2012-04-17 23:59:33 +02:00
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 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