Percent of CPU this job got > 100%

Shankar Unni shankar@cotagesoft.com
Thu Oct 16 18:18:00 GMT 2003


Christopher Faylor wrote:

> On Thu, Oct 16, 2003 at 08:38:33AM +0200, Alex Vinokur wrote:

>>$ /bin/time -v a 1000
>>[...]
>> Percent of CPU this job got: 133%

> Automatic, built-in meanness at no extra charge.

:-).

Alex: is it possible your program is multi-threaded, and you have one of
those shiny new hyperthreading P4s? Remote, but that could give you this
behavior..

But even otherwise, small discrepancies between wall clock and computed
CPU clock are not uncommon, and given that your running time is pretty
close to one CPU "HZ" tick, you can get weird anomalies like this.

Try timing "a 1000000".
--
Shankar.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list