60 thumbs up

Bored with knowledge? Try golf

Can elapsed time be lower than processor time?

I have a process that runs on a Linux machine. I use getrusage to measure the amount of time spent by the process. The output is like this:

Elapsed time  : 650 milisecondes

user time used                              : 799880  microsecond

system time used                          : 716456  microsecond

total process time                         : 1516336 microsecond

How can it be that the elapsed time can be lower than the total amount of processor time???


Would you like to answer or comment?

Sign up for a free account, or sign in (if you're already a member).
  • 716 views
Share Send to a friend Watch Report
 
 

Posted Answers

Order by
 
60 thumbs up

Bored with knowledge? Try golf

This is the Darwin Kernel. I can't post any piece of code.


Posted 2 years ago ( permalink )
In reply to Eran's answer
Rated as
#9 out of 9
0
0

Helpful?

line
line
line



Sign in to participate

Got an answer for hkabla? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


I wonder what will happen to Yedda's ...

I wonder what will happen to Yedda's response times, when over 1000 users are posting/answering questions simultaniously?
Submitted by Fons 2 years ago
  • viewed 713 times

Last answer posted 2 years ago by Yaniv


Improve desil fuel milage

My 2007 Dodge 6.7 diesel ( 3500 with single wheels ) is killing me with poor fuel milage. About 11 mpg with my fifth wheel - 13 ...
Submitted by gjriner 2 months ago
  • viewed 45 times

Last answer posted 20 days ago by Jonny123


How i can increase my sex time ?

how i can increase my sex time ?
Submitted by gyan 5 months ago
  • viewed 470 times

Last answer posted 5 months ago by sexilexi



» More...

Explore Related Posts in Forums

UNIX Password security

crypt, a fast implementation of the DES algorithm) on a network of SUN ELC computers. The performance (computers owned by US companies). One would expect companies to have good security measurements

Mониторинг системных ресурсов UNIX

статистической информации использования системных ресурсов локальных и удалённых серверов UNIX process ....неужели это не так важно?Я не знаю каким образом разрабатывался Unix...

Need help to reanimate an AT&T AT&T 3B1/7300 UNIX-PC

me about this group. So I post the whole request to Peter again here because he does not own an UNIX -PC and so he could not help me. --- snip --- | |I no longer have a UNIX PC. I would suggest you try
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog

Explore Related Videos

Smalltalk GUI predates MacOS and Windows

For this mac fanatics who think mac was the first, this is proof you are wrong. Also to the windows fanatics, linux came after windows, Unix came before DOS and linux design was inspired by Unix.. Also the first version of windows was just a visual shell atop MSDOS, it wasn't an operating system until much later. And as in Linux, the window managers like Gnome, do just that, they offer a visual shell to the linux operating system which only really offers a programmatic interface, even the terminal windows in Linux are just shells that permits one to interact with Linux, which can only really be accurately interacted with using a programming language like C.. This is the same case as for the mac and windows machines.. The user interface is just that, a shell to permit one to interact with the operating system. The operating system isn't the user interface.. Linux has kept this distinction, and because of it, Linux has multiple kinds of shells for the terminal environment and multiple windowing interfaces, some that make it act like a mac and others that make it look and feel like a windows environment.. But Linux itself it much deeper a concept than Mac or Windows is.. So.. Let this video be informative.. Though I may not have a script, I will tell all I know, and all I've heard about this bit of history...

My KBUNTU Desktop.

KDE is a powerful graphical desktop environment for UNIX® workstations. A KDE desktop combines ease of use, contemporary functionality and outstanding graphical design with the technological superiority of the UNIX® operating system.Without UNIX® the Internet would not exist, or at least would have a vastly different form. UNIX® has not, until now, addressed the needs of the average computer user. This fact is particularly unfortunate, since a number of implementations of UNIX® (Linux®, FreeBSD, NetBSD, etc.) are freely available on the Internet, all of which are of exceptional quality and stability.

A História do UNIX

A história do Unix pela voz de seus criadores: Ken Thompson e Dennies Ritchie.

I am a mac, mac vs pc, I am a Linux, I am a...

I most certainly cannot exclude linux and unix, as they are friends that live inside me as well.

Unix 101 Booting and Shutting down Solaris...

Booting and Shutting down Solaris Unix after a new install on a VirtualBox Virtual Machine or PC

Unix 101 installing Open Solaris UNIX part...

Installing Open Solaris UNIX on a PC or virtual machine: Part 1 of 2

Ghost in the Terminal

Ghostly figure appears from within the unix terminal.

Yell for Help! With Stewie Bronson: UNIX...

Little Johnny gets into some hot water using his dad's computer so he calls will Stewie rescue him, or stoke the flames? Join Stew... more > Little Johnny gets into some hot water using his dad's computer so he calls will Stewie rescue him, or stoke the flames? Join Stewie as he dishes out his own brand of tech support in this parody of call-in tech support shows. http://stewiebronson.com

Unix operating system

UNIX OS basic commands
» More...
Powered by
Copyright © 2006-2008, Yedda Inc. and respective copyright owners · CC License