The
methods
of System.Diagnostics.Stopwatch are listed below. For a list of all members, see the Stopwatch Members list.
See Also: Inherited members from System.Object
Public Methods
static | GetTimestamp() : long
Gets the current number of ticks in the timer mechanism.
|
| Reset()
Stops time interval measurement and resets the elapsed time to zero.
|
| Restart()
Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.
|
| Start()
Starts, or resumes, measuring elapsed time for an interval.
|
static | StartNew() : Stopwatch
Initializes a new System.Diagnostics.Stopwatch instance, sets the elapsed time property to zero, and starts measuring elapsed time.
|
| Stop()
Stops measuring elapsed time for an interval.
|