Re: [Python-Dev] time.wallclock()

2010-11-01 Thread Kristján Valur Jónsson
Ok, please see http://bugs.python.org/issue10278 K From: Michael Foord [mailto:fuzzy...@voidspace.org.uk] Sent: 1. nóvember 2010 22:05 To: Kristján Valur Jónsson Cc: python-dev@python.org Subject: Re: [Python-Dev] time.wallclock() I think this would be helpful. Having to do platform specific

Re: [Python-Dev] time.wallclock()

2010-11-01 Thread Michael Foord
On 01/11/2010 14:00, Kristján Valur Jónsson wrote: Working on Condition variables and semaphores (see http://bugs.python.org/issue10260) I noticed that time.time() was being used to correctly time blocking system calls. On windows, I would have used time.clock() but reading the documentation

[Python-Dev] time.wallclock()

2010-11-01 Thread Kristján Valur Jónsson
Working on Condition variables and semaphores (see http://bugs.python.org/issue10260) I noticed that time.time() was being used to correctly time blocking system calls. On windows, I would have used time.clock() but reading the documentation made me realize that on Unix that would return CPU s