Stopwatch.ElapsedTicks Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the total elapsed time measured by the current instance, in timer ticks.
Assembly: System (in System.dll)
This property represents the number of elapsed ticks in the underlying timer mechanism. A tick is the smallest unit of time that the Stopwatch timer can measure. Use the Frequency field to convert the ElapsedTicks value into a number of seconds.
You can query the properties Elapsed, ElapsedMiliseconds, and ElapsedTicks while the Stopwatch instance is running or stopped. The elapsed time properties steadily increase while the Stopwatch is running; they remain constant when the instance is stopped.
By default, the elapsed time value of a Stopwatch instance equals the total of all measured time intervals. Each call to Start() begins counting at the cumulative elapsed time; each call to Stop() ends the current interval measurement and freezes the cumulative elapsed time value. Use the Reset() method to clear the cumulative elapsed time in an existing Stopwatch instance.
Stopwatch ticks are different from DateTime.Ticks. Each tick in the DateTime.Ticks value represents one 100-nanosecond interval. Each tick in the ElapsedTicks value represents the time interval equal to 1 second divided by the Frequency.