Re: CPU time versus wall clock time
From: Scott Kelly (scottjk_at_softhome.net)
Date: 11/01/03
- Next message: r norman: "Re: CPU time versus wall clock time"
- Previous message: Jumbo: "Re: 2-dimensional arrays and functions"
- Next in thread: r norman: "Re: CPU time versus wall clock time"
- Reply: r norman: "Re: CPU time versus wall clock time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: r norman: "Re: CPU time versus wall clock time"
- Previous message: Jumbo: "Re: 2-dimensional arrays and functions"
- Next in thread: r norman: "Re: CPU time versus wall clock time"
- Reply: r norman: "Re: CPU time versus wall clock time"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|