Re: CPU time versus wall clock time
From: Mike Wahler (mkwahler_at_mkwahler.net)
Date: 10/30/03
- Next message: Irrwahn Grausewitz: "Re: Glasses"
- Previous message: Gene Wirchenko: "Re: Glasses"
- In reply to:(deleted message) Scott Kelly: "Re: CPU time versus wall clock time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Oct 2003 19:17:16 GMT
"Scott Kelly" <scottjk@softhome.net> wrote in message
news:80m0qvopu4cijkube7hv6tl385ep3h30uk@4ax.com...
> On Wed, 29 Oct 2003 18:27:48 +0200, "Alex Vinokur"
> <alexvn@bigfoot.com> wrote:
>
> >
> >"Scott Kelly" <scottjk@softhome.net> wrote in message
news:nflvpv873qlqrr2hlv277iecstcj31uk5l@4ax.com...
> >> It might be off topic, but it's a burning question in my heart. :)
> >> What is CPU time, and how does it relate to wall clock time.
> >>
> >> I think it's a good question because it will provide me with a context
> >> in the future when I start messing with time based programs later.
> >>
> >> Thanks
> >>
> >> Scott Kelly
> >
> >See
>
>http://groups.google.com/groups?selm=bmpe5o%24ph16o%241%40ID-79865.news.uni
-berlin.de
>
>http://groups.google.com/groups?selm=bmr7ng%24q2eho%241%40ID-79865.news.uni
-berlin.de
> >
> >
> > =====================================
> > Alex Vinokur
> > mailto:alexvn@connect.to
> > http://mathforum.org/library/view/10978.html
> > news://news.gmane.org/gmane.comp.lang.c++.perfometer
> > =====================================
> >
> >
> Considering I can't read C++ (yet), and yes, I'm a novice at C, that
> didn't help. It just showed me that clock time and cpu time can
> differ.
>
> What is doesn't show me is why.
An analogy:
A man is digging a hole.
He starts at 8:00.
He takes a break for rest at 9:00.
He starts digging again at 9:30.
He finishes at 10:00
The time between the start and end of the job
is 2 hours of 'real' or 'wall' or 'clock' time.
The 'worker' (e.g. 'processor') time consumed by the
job is 1.5 hours. For .5 hours, the 'worker' was
doing something else, so that time is not alloted
to the total job time.
-Mike
- Next message: Irrwahn Grausewitz: "Re: Glasses"
- Previous message: Gene Wirchenko: "Re: Glasses"
- In reply to:(deleted message) Scott Kelly: "Re: CPU time versus wall clock time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|