The members of System.Diagnostics.Stopwatch are listed below.
See Also: Inherited members from System.Object
Initializes a new instance of the System.Diagnostics.Stopwatch class. |
static readonly | Frequency | long (10000000).
Gets the frequency of the timer as the number of ticks per second. This field is read-only. |
static readonly | IsHighResolution | bool.
Indicates whether the timer is based on a high-resolution performance counter. This field is read-only. |
[read-only] | Elapsed | TimeSpan.
Gets the total elapsed time measured by the current instance. |
[read-only] | ElapsedMilliseconds | long.
Gets the total elapsed time measured by the current instance, in milliseconds. |
[read-only] | ElapsedTicks | long.
Gets the total elapsed time measured by the current instance, in timer ticks. |
[read-only] | IsRunning | bool.
Gets a value indicating whether the System.Diagnostics.Stopwatch timer is running. |
static | GetTimestamp()
| |
Reset()
| ||
Restart()
| ||
Start()
| ||
static | StartNew()
| |
Stop()
|