bug report: [ #447945 ] time.time() is not non-decreasing

Erno Kuusela erno-news at erno.iki.fi
Sun Aug 5 00:18:13 CEST 2001


In article <slrn9moi6o.hqg.yawyi at hell.convergence.de>, yawyi at gmx.de
(Johannes Stezenbach) writes:

| zooko at zooko.com <zooko at zooko.com> wrote:
|| So my `gettimeofday()' sometimes returns a decreasing value.
|| 
|| Hm.  So I suppose I should report this as bug to debian...

| This happens on laptops with variable CPU clock frequency
| (Intel Speed Step or something similar).
...
| Linux uses the CPU clock cycle counter to achieve microsecond
| relolution for gettimeofday()

in that case you can probably work around this by configuring
the kernel for a 486 (it doesn't have the cycle counter instructions).

  -- erno



More information about the Python-list mailing list