Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-15-2007, 07:44 AM   #1
LQ Newbie
Registered: May 2006
Posts: 20

Rep: Reputation: 0
diff. between elapsed time and cpu time

hi, plz dont mind if this is very silly question.

could tell what is the difference between the
words elapsed time and cpu time.
i.e these are two types of timings for completing
a task.
Old 01-15-2007, 07:57 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Elapsed time is the time as on your wall clock: How long a process has been running since started.

CPU time is the time the CPU has actually spent processing this very process: The accumulated time slices added together. Here is a chapter from the book Linux Kernel Development which gives a brief introduction into Linux kernel scheduling and how processes get split up in time slices.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash: how to get time (in seconds) elapsed since creation of a file? J_Szucs Linux - General 6 12-27-2008 11:28 PM
find elapsed time innuendo_98 Programming 2 11-10-2005 08:03 AM
amarok progressbar time elapsed problem abattoir Linux - Software 0 04-13-2005 10:31 AM
Howto Monitor elapsed time in a shell script rkrijger Linux - Software 2 03-11-2004 08:46 AM
getting elapsed time.. Mad_C Programming 2 04-01-2003 01:12 AM

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration