System.Diagnostics.TStopwatch.ElapsedTicks
Delphi
property ElapsedTicks: Int64 read GetElapsedTicks;
C++
__property __int64 ElapsedTicks = {read=GetElapsedTicks};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Diagnostics.pas System.Diagnostics.hpp |
System.Diagnostics | TStopwatch |
Description
Specifies the elapsed time in ticks.
Use ElapsedTicks to obtain the total amount of time elapsed counted by the stopwatch. ElapsedTicks returns a 64-bit integer that contains the number of milliseconds elapsed.
The value of Elapsed is only updated if the stopwatch is priorly stopped. Reading the Elapsed property while the stopwatch is running does not yield any difference.