Provides access to system timers.
Object
Counter
[Visual Basic] Public Class Counter [C#] public class Counter [C++] public __gc class Counter [JScript] public class Counter
To get the number of seconds, divide Value by Frequency.
Use the GetElapsed property to get how long an operation takes to run.
Namespace: System.Diagnostics
Assembly: System.dll