Run time vs CPU time

Questions and Answers : Getting started : Run time vs CPU time
Message board moderation

To post messages, you must log in.


Send message
Joined: 19 Feb 12
Posts: 3
Credit: 6,921,684
RAC: 0
Message 1242382 - Posted: 6 Jun 2012, 18:06:26 UTC

What makes the difference between
Run time and CPU time?
ID: 1242382 · Report as offensive
Profile Ageless

Send message
Joined: 9 Jun 99
Posts: 14100
Credit: 3,388,595
RAC: 353
Message 1242463 - Posted: 6 Jun 2012, 21:37:35 UTC - in response to Message 1242382.  

Run time is the time it takes for the task to run from start to finish, equal to wall-clock time.
CPU time is the time that the CPU is actually working on the task. There are whole minutes that there's memory swapping taking place, in which the CPU isn't used. Or in the case of the GPU, where the CPU is only used to translate and transfer data, not to actually do any calculations as these happen on the GPU.

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!
ID: 1242463 · Report as offensive

Questions and Answers : Getting started : Run time vs CPU time

©2017 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.