Restarts a stopwatch previously stopped by
ChronoEnd or
ChronoPause. The duration timed from the execution of
ChronoResume will be added to the duration that was previously calculated.
New in version 28
ProcessDuration is Duration
ChronoStart()
MyFunction1()
ProcessDuration = ChronoPause()
Info("The MyFunction1 process lasted " + ProcessDuration)
ChronoResume()
MyFunction2()
ProcessDuration = ChronoEnd()
Info("The MyFunction1 and MyFunction2 processes lasted " + ProcessDuration)
Syntax
Resuming timing started with a stopwatch number Hide the details
ChronoResume([<Stopwatch number>])
<Stopwatch number>: Optional integer
Identifier of stopwatch used. If this parameter is not specified, its default value is set to 1.
Remarks
Miscellaneous
This function has no effect if ChronoResume is used on a stopwatch that is already started.
Error
A WLanguage error occurs if
ChronoStart was not called before
ChronoResume.
Threads
The timing functions (Chronoxxx) that affect the same stopwatch must be used in the same thread.
Business / UI classification: Neutral code