LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-15-2007, 08:44 AM   #1
madhugp
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, 08:57 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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.


Håkan
 
  


Reply


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-28-2008 12:28 AM
find elapsed time innuendo_98 Programming 2 11-10-2005 09:03 AM
amarok progressbar time elapsed problem abattoir Linux - Software 0 04-13-2005 11:31 AM
Howto Monitor elapsed time in a shell script rkrijger Linux - Software 2 03-11-2004 09:46 AM
getting elapsed time.. Mad_C Programming 2 04-01-2003 02:12 AM


All times are GMT -5. The time now is 06:39 PM.

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