Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-07-2011, 01:54 PM
|
#1
|
|
Member
Registered: Nov 2010
Posts: 38
Rep:
|
user time, system time, real time .. reg
1. how sum of system time and user time can be greater than real time ?
2. Even though my program is not waiting for any I/O the real time is smaller than system time as shown
root@chaitu:/home/chaitu/Desktop/Chk# time ./new
real 0m0.001s
user 0m0.000s
sys 0m0.004s
Awaiting a reply.
|
|
|
|
04-07-2011, 02:08 PM
|
#2
|
|
Senior Member
Registered: Aug 2006
Location: C:\MSDOS\
Distribution: LFS 3.8.11 with OpenBox 3.5.0
Posts: 1,448
|
I think thats because the computer is faster than real time - 'Wall Clock Time'
For example.
Real time might be 1 minute.
But the computer can do 600 minutes of work in 1 minute. Its been a long time since I've studied this, so please correct me if I am mistaken.
|
|
|
|
04-07-2011, 02:20 PM
|
#3
|
|
Member
Registered: Nov 2010
Posts: 38
Original Poster
Rep:
|
thanks for ur reply..
the things which I know regarding this are:
real time is the actual elapsed time(from beginning to end of the program)
user time includes time needed for executing user defined code.
System time for executing system calls(kernel time).
but I am confused as to how system time can be greater than real time. even i am not clear with it.
just waiting for someone to answer.
Chaitanya.
Last edited by chaitanyajun12; 04-07-2011 at 02:23 PM.
|
|
|
|
04-07-2011, 08:30 PM
|
#4
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
|
Quote:
Originally Posted by szboardstretcher
But the computer can do 600 minutes of work in 1 minute. Its been a long time since I've studied this, so please correct me if I am mistaken.
|
I don't understand. What's a "minute of work", anyway? How can a computer do in 1/600 of a minute what it could do in a minute?
|
|
|
|
04-08-2011, 12:18 AM
|
#5
|
|
Member
Registered: Nov 2010
Posts: 38
Original Poster
Rep:
|
This thing would be of great help for me.
Someone can please explain it.
--
Chaitanya
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|