Commit Graph

114 Commits

Author SHA1 Message Date
Victor Stinner c0a8e14174 PEP 418: list OSes supporting or not CLOCK_MONOTONIC
Give also more information about GetTickCount().
2012-03-29 00:57:15 +02:00
Victor Stinner 319f49544b PEP 418: Rename time.hires() to time.highres(); add Solaris monotonic clocks
Mention also other time.highres() name propositions.
2012-03-28 15:02:58 +02:00
Victor Stinner aaa1107673 PEP 418: Mention the Technical Q&A QA1398 for mach_absolute_time() 2012-03-28 02:59:01 +02:00
Victor Stinner 02b9a5bcb3 PEP 418: merge time.try_monotonic() and time.hires() into time.hires()
Cleanup the PEP.
2012-03-28 02:18:11 +02:00
Victor Stinner 280378cb3a PEP 418: Fix time.time() pseudo-code, clock_gettime(CLOCK_REALTIME) falls back
to get _time.gettimeofday() on OSError

Add also a note about the _time module.
2012-03-28 01:57:37 +02:00
Victor Stinner 8d75780f92 PEP 418: I'm not quite sure, but it looks like QueryPerformanceCounter() *is* monotonic 2012-03-28 01:45:51 +02:00
Victor Stinner 196e5a23ac PEP 418: time.hires() uses time.monotonic() if available
hires() preference for clock_gettime() clocks:
CLOCK_MONOTONIC_RAW > CLOCK_MONOTONIC > CLOCK_REALTIME
2012-03-27 19:50:13 +02:00
Victor Stinner 4f31bacf76 PEP 418: Replace "API design" title with "Alternatives: API design" 2012-03-27 19:40:24 +02:00
Victor Stinner ae01ce94ad PEP 418: Write the pseudo-code of time.time() 2012-03-27 19:34:04 +02:00
Victor Stinner ee094d5cb9 PEP 418: rename time.steady() to time.try_monotonic(); add time.hires() 2012-03-27 19:27:28 +02:00
Victor Stinner 167f0c34cc PEP 418: Add more links 2012-03-27 02:19:00 +02:00
Victor Stinner f2a9cd477f PEP 418: Define time.monotonic and time.steady 2012-03-27 01:30:38 +02:00
Victor Stinner d0b769260e PEP 418: Mention an use case for truly monotonic clock 2012-03-27 01:22:04 +02:00
Victor Stinner 6bccbeeb21 Add PEP 418: Add monotonic clock 2012-03-27 01:12:03 +02:00