Amaury Forgeot d'Arc added the comment: 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)) ---------- nosy: +amaury.forgeotdarc __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2063> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com