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 maltehelmert
Recipients belopolsky, gvanrossum, maltehelmert
Date 2008-02-23.15:14:30
SpamBayes Score 0.037495773
Marked as misclassified No
Message-id <1203779672.0.0.813536289647.issue1040026@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a test script (test_times.py) that forks a child which
runs for 5 seconds, waits for the child, then prints the time taken by
the child according to os.times().

I have a machine where os.times() reproducably reports that 8.33 seconds
have been spent, although indeed only 5 seconds pass:

======================================
# time python test_times.py
8.33333333333

real    0m5.018s
user    0m5.008s
sys     0m0.008s
======================================

I don't know which characteristics of the machine are causing this.
History
Date User Action Args
2008-02-23 15:14:32maltehelmertsetspambayes_score: 0.0374958 -> 0.037495773
recipients: + maltehelmert, gvanrossum, belopolsky
2008-02-23 15:14:32maltehelmertsetspambayes_score: 0.0374958 -> 0.0374958
messageid: <1203779672.0.0.813536289647.issue1040026@psf.upfronthosting.co.za>
2008-02-23 15:14:31maltehelmertlinkissue1040026 messages
2008-02-23 15:14:30maltehelmertcreate