System.Diagnostics.TStopwatch.ElapsedMilliseconds
Delphi
property ElapsedMilliseconds: Int64 read GetElapsedMilliseconds;
C++
__property __int64 ElapsedMilliseconds = {read=GetElapsedMilliseconds};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Diagnostics.pas System.Diagnostics.hpp |
System.Diagnostics | TStopwatch |
Description
Specifies the elapsed time in milliseconds.
Use ElapsedMilliseconds to obtain the total amount of time elapsed counted by the stopwatch. ElapsedMilliseconds returns a 64-bit integer that contains the number of elapsed ticks.
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.