Malte Helmert added the comment: 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. ---------- nosy: +maltehelmert Added file: http://bugs.python.org/file9497/test_times.py _____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1040026> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
