Message156333
> Does "may not" mean that the user isn't allowed to adjust it,
> or that they system won't always have adjusted it?
It depends on which clock is used.
- clock_gettime(CLOCK_MONOTONIC_RAW) cannot be adjusted
- clock_gettime(CLOCK_MONOTONIC) can be adjusted by NTP (only its speed, no forward or backward jump)
- I don't think that QueryPerformanceCounter() can be adjusted
- gettimeofday(), ftime() and time() are the system clock and can be changed manually by the system administrator or automatically by NTP (maybe with a jump, forward or backward)
- clock() is used on Windows if QueryPerformanceFrequency failed. I donk't know if it can be ajdusted
It is important to mention that time.steady() may be adjusted in some cases. |
|
Date |
User |
Action |
Args |
2012-03-19 12:21:53 | vstinner | set | recipients:
+ vstinner, docs@python, Jim.Jewett |
2012-03-19 12:21:53 | vstinner | set | messageid: <1332159713.49.0.838978482208.issue14318@psf.upfronthosting.co.za> |
2012-03-19 12:21:52 | vstinner | link | issue14318 messages |
2012-03-19 12:21:52 | vstinner | create | |
|