[Python-Dev] time.clock() on windows (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Thu Oct 22 13:19:54 CEST 2009
- Previous message: [Python-Dev] time.clock() on windows
- Next message: [Python-Dev] GIL behaviour under Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg <mal egenix.com> writes:
I'm not sure I understand why time.clock() should be considered broken.
Because in some cases you want comparable high-resolution numbers from distinct processes.
time.clock() is used for measuring process CPU time
According to the docs, under Windows it measures wall-clock time rather than CPU time.
Regards
Antoine.
- Previous message: [Python-Dev] time.clock() on windows
- Next message: [Python-Dev] GIL behaviour under Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]