[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: os.clock() does not return CPU time on Windows
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 7 Nov 2019 14:22:46 -0300
> But it appears that on Windows the C function clock()
> returns wall-time instead of CPU-time:
> It looks like it's Microsoft's fault
> to incorrectly implement C run-time function.
"It looks like" is an euphemism. They explicitly say that the function
Note that this function does not strictly conform to ISO C, which
specifies net CPU time as the return value.
("does not strictly conform" is another euphemism :-)