Jump to content

Wall-clock time: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Bold merge to Elapsed real time following uncontested 2014 merge proposal; pages suggest essentially identical definitions, or sufficiently similar that they are best discussed together
 
Line 1: Line 1:
{{Merge to|Elapsed real time|date=November 2014}}
#REDIRECT [[Elapsed real time]] {{R from merge}}
{{Refimprove|date=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 [[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 is the time that a clock on the wall (or a stopwatch in hand) would measure as having elapsed between the start of the process and "now".

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.<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).

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.<ref>{{cite web|title=NS-3 Manual|url=http://www.nsnam.org/docs/manual/html/realtime.html}}</ref><ref>{{cite web|title=OMNeT++ Manual|url=http://www.omnetpp.org/doc/omnetpp/manual/usman.html}}</ref><ref>{{cite book|last1=Nicol|first1=John|title=Fundamentals of Real-Time Distributed Simulation|isbn=978-0986841408|pages=57}}</ref>

==See also==
* [[Elapsed real time]]
* [[System time]]

== References ==
{{Reflist}}

[[Category:Time]]

Latest revision as of 21:02, 11 July 2017

Redirect to:

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve the edit history of this page after its content was merged into the content of the target page. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.