Re: CPU time versus wall clock time

From: Scott Kelly (scottjk_at_softhome.net)
Date: 11/01/03


Date: Sat, 01 Nov 2003 20:30:59 GMT

On Thu, 30 Oct 2003 19:17:16 GMT, "Mike Wahler"
<mkwahler@mkwahler.net> wrote:

>
>"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
>
Sounds like many jobs I've had.

Thanks Mike.



Relevant Pages

  • Re: CPU time versus wall clock time
    ... It just showed me that clock time and cpu time can ... > differ. ... He starts digging again at 9:30. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: CPU time versus wall clock time
    ... >> What is CPU time, and how does it relate to wall clock time. ... differ. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: CPU time versus wall clock time
    ... It just showed me that clock time and cpu time can ... > differ. ... CPU time is only the amount of time that the CPU itself is actually ... data to be read in from the disk, or to come across a network, or time ...
    (alt.comp.lang.learn.c-cpp)
  • Re: CPU time versus wall clock time
    ... It just showed me that clock time and cpu time can ... >> differ. ... Thanks, Jerry! ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Mondeo Mk1 Wheel /Tyre size
    ... From the digging around I have done it would appear the answer is yes. ... The tyre diameters only differ by 1% so it will hardly affect the ... Usenet - a collection of people who only open their mouth to change feet. ...
    (uk.rec.cars.maintenance)