|
|
|
|
|
- Miscellaneous
- Error
- Threads
ChronoPause (Function) In french: ChronoPause Pauses a stopwatch in order to measure the time spent on a process. Timing can be restarted with ChronoResume.
New in version 2025DuréeTraitement is Duration
ChronoStart()
MaFonction1()
DuréeTraitement = ChronoPause()
Info("Le traitement MaFonction1 a duré " + DuréeTraitement)
ChronoResume()
MaFonction2()
DuréeTraitement = ChronoEnd()
Info("Les traitements MaFonction1 et MaFonction2 ont duré " + DuréeTraitement)
Syntax
Pausing the timing started with a stopwatch number Hide the details
<Result> = ChronoPause([<Stopwatch number>])
<Result>: Duration Time elapsed (in milliseconds) since the last call to ChronoStart for the specified 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 ChronoPause is used on a stopwatch that is already paused. Error A WLanguage error occurs if ChronoStart was not called before ChronoPause. Threads The timing functions (Chronoxxx) that affect the same stopwatch must be used in the same thread. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|