Wall-clock time: Difference between revisions
→Details: Changed the link "CPU time" to actually point to the "CPU time"-article instead of "System time" |
m →Details: WP:CHECKWIKI error fixes using AWB (9075) |
||
Line 5: | Line 5: | ||
== Details == |
== Details == |
||
In computing, wall-clock time can also mean the actual time taken by a computer to complete a task.<ref>{{Cite web|title=Wall time|url=http://www.catb.org/jargon/html/enwiki/w/wall-time.html|work=The Jargon File|accessdate=June 10, 2011}}</ref> It is the sum of three terms: CPU time, I/O time, and the communication channel delay (e.g. if data are scattered on multiple machines). In contrast to [[ |
In computing, wall-clock time can also mean the actual time taken by a computer to complete a task.<ref>{{Cite web|title=Wall time|url=http://www.catb.org/jargon/html/enwiki/w/wall-time.html|work=The Jargon File|accessdate=June 10, 2011}}</ref> It is the sum of three terms: CPU time, I/O time, and the communication channel delay (e.g. if data are scattered on multiple machines). In contrast to [[CPU time]], which measures only the time during which the processor is actively working on a certain task, wall time measures the total time for the process to complete. The difference between the two consists of time that passes due to [[sleep (operating system)|programmed delays]] or waiting for resources to become available. |
||
For programs executed in parallel, the CPU time will be the sum of CPU times devoted to the task by each CPU running it. In this case the wall time will be substantially reduced (it takes less perceived time to finish), whereas the total CPU time will remain equal to the one for serial execution (plus some overhead for parallelization). |
For programs executed in parallel, the CPU time will be the sum of CPU times devoted to the task by each CPU running it. In this case the wall time will be substantially reduced (it takes less perceived time to finish), whereas the total CPU time will remain equal to the one for serial execution (plus some overhead for parallelization). |
Revision as of 11:45, 8 April 2013
This article needs additional citations for verification. (March 2008) |
Wall-clock time, or wall time, is the human perception of the passage of time from the start to the completion of a task. In the context of a task being performed on a computer, wall-clock time is a measure of the real time that elapses from start to end, including time that passes due to programmed (artificial) delays or waiting for resources to become available. In other words, it is the difference between the time at which a task finishes and the time at which the task started.
Details
In computing, wall-clock time can also mean the actual time taken by a computer to complete a task.[1] It is the sum of three terms: CPU time, I/O time, and the communication channel delay (e.g. if data are scattered on multiple machines). In contrast to CPU time, which measures only the time during which the processor is actively working on a certain task, wall time measures the total time for the process to complete. The difference between the two consists of time that passes due to programmed delays or waiting for resources to become available.
For programs executed in parallel, the CPU time will be the sum of CPU times devoted to the task by each CPU running it. In this case the wall time will be substantially reduced (it takes less perceived time to finish), whereas the total CPU time will remain equal to the one for serial execution (plus some overhead for parallelization).
Consider the example of a mathematical program that reports that it has used "CPU time 0m0.04s, Wall time 6m6.01s". This means that while the program was active for six minutes and six seconds, during that time the computer's processor spent only 4/100 of a second performing calculations for the program.
See also
References
- ^ "Wall time". The Jargon File. Retrieved June 10, 2011.