Stopwatch
Frequency
IsHighResolution
Stopwatch()
Elapsed
ElapsedMilliseconds
ElapsedTicks
IsRunning
GetElapsedTime(Int64)
GetElapsedTime(Int64, Int64)
GetTimestamp()
Reset()
Restart()
Start()
StartNew()
Stop()
ToString()
net9.0
namespace System.Diagnostics
{
public class Stopwatch
{
public static TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp);
}
}
nuget.org | 0.1 % Reference this API |
---|---|
Design Reviews |
|
.NET | 7.08.09.0 |
Information specific to net9.0 | |
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API