Run time vs CPU time


log in

Advanced search

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

Author Message
TUKIA
Send message
Joined: 19 Feb 12
Posts: 3
Credit: 6,535,190
RAC: 161
Finland
Message 1242382 - Posted: 6 Jun 2012, 18:06:26 UTC

What makes the difference between
Run time and CPU time?

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12298
Credit: 2,591,785
RAC: 909
Netherlands
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.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

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

Copyright © 2014 University of California