[Tutor] I can't believe this needs to be this complex
rdm at rcblue.com
Sun Aug 3 17:30:42 CEST 2008
At 05:15 AM 8/3/2008, Kent Johnson wrote:
>On Sun, Aug 3, 2008 at 4:00 AM, Alan Gauld <alan.gauld at btinternet.com> wrote:
> > "Dick Moores" <rdm at rcblue.com> wrote
> >>>> code I time. What's an example of code that would have System be greater
> >>>> than zero? And what's the distinction between User and System?
> (I'm using
> >>>> Win XP, if that's relevant.)
> > It may be that XP doesn't report System time.
> From the IPython help for 'run':
> -t: print timing information at the end of the run. IPython will
>give you an estimated CPU time consumption for your script, which
>under Unix uses the resource module to avoid the wraparound
>problems of time.clock(). Under Unix, an estimate of time spent on
>system tasks is also given
Thanks, Kent. RTFM!
>(for Windows platforms this is reported
I wonder why it is reported for Windows at all?
More information about the Tutor