This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, facundobatista, kcwu
Date 2008-02-12.13:14:49
SpamBayes Score 0.014594059
Marked as misclassified No
Message-id <1202822090.32.0.6138883623.issue2063@psf.upfronthosting.co.za>
In-reply-to
Content
As a suggestion, we could just run some computation that does no system
call:

>>> import os
>>> os.times()
(0.015625, 0.015625, 0.0, 0.0, 0.0)
>>> max(xrange(10000000))   # this takes half a second on my machine
9999999
>>> os.times()
(0.015625, 0.484375, 0.0, 0.0, 0.0)

utime delta should be much higher than stime delta. This is obviously
not the case here; the values seems inverted.
   (os.times() -> (utime, stime, cutime, cstime, elapsed_time))
History
Date User Action Args
2008-02-12 13:14:50amaury.forgeotdarcsetspambayes_score: 0.0145941 -> 0.014594059
recipients: + amaury.forgeotdarc, facundobatista, christian.heimes, kcwu
2008-02-12 13:14:50amaury.forgeotdarcsetspambayes_score: 0.0145941 -> 0.0145941
messageid: <1202822090.32.0.6138883623.issue2063@psf.upfronthosting.co.za>
2008-02-12 13:14:49amaury.forgeotdarclinkissue2063 messages
2008-02-12 13:14:49amaury.forgeotdarccreate