Jump to content

Wall-clock time: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
AnomieBOT (talk | contribs)
m Dating maintenance tags: {{Merge to}}
No edit summary
Line 3: Line 3:


'''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 [[sleep (operating system)|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.
'''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 [[sleep (operating system)|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.

The term is used rather than "real" time to avoid a naming conflict with [[real-time systems]].


== Details ==
== Details ==

Revision as of 11:32, 15 April 2015

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.

The term is used rather than "real" time to avoid a naming conflict with real-time systems.

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.

In Simulation

The term wall-clock time has also found widespread adoption in computer simulation, to distinguish between, first, the (often compressed or expanded) simulation time and, second, time as it passes for the user of the simulation tool.[2][3][4]

See also

References

  1. ^ "Wall time". The Jargon File. Retrieved June 10, 2011.
  2. ^ NS-3 Manual. http://www.nsnam.org/docs/manual/html/realtime.html. {{cite web}}: External link in |website= (help); Missing or empty |title= (help); Missing or empty |url= (help)CS1 maint: numeric names: authors list (link)
  3. ^ "OMNeT++ Manual". http://www.omnetpp.org/doc/omnetpp/manual/usman.html. {{cite web}}: External link in |website= (help); Missing or empty |url= (help)
  4. ^ Nicol, John. Fundamentals of Real-Time Distributed Simulation. p. 57. ISBN 978-0986841408.