System.Diagnostics.TStopwatch.Stop
Delphi
procedure Stop;
C++
void __fastcall Stop();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Diagnostics.pas System.Diagnostics.hpp |
System.Diagnostics | TStopwatch |
Description
Stops a started stopwatch.
Call Stop to stop a started stopwatch. If the stopwatch is already stopped, Stop simply returns. To start a stopped stopwatch, use the Start method.
Stop cumulates the values of the Elapsed, ElapsedMilliseconds, and ElapsedTicks properties with the new time interval.