C# Class Performance.Stopwatch

Datei anzeigen Open project: maesse/NZBHags

Public Methods

Method Description
Calibrate ( ) : void
GetElapsedTimeInMicroseconds ( ) : double
GetElapsedTimeSpan ( ) : System.TimeSpan
GetSplitTimeInMicroseconds ( ) : double
GetSplitTimeSpan ( ) : System.TimeSpan
Reset ( ) : void
Start ( ) : void
Stop ( ) : void
Stopwatch ( ) : System

Private Methods

Method Description
QueryPerformanceCounter ( long &x ) : short
QueryPerformanceFrequency ( long &x ) : short
_GetElapsedTime_ms ( ) : double
_GetSplitTime_ms ( ) : double

Method Details

Calibrate() public method

public Calibrate ( ) : void
return void

GetElapsedTimeInMicroseconds() public method

public GetElapsedTimeInMicroseconds ( ) : double
return double

GetElapsedTimeSpan() public method

public GetElapsedTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

GetSplitTimeInMicroseconds() public method

public GetSplitTimeInMicroseconds ( ) : double
return double

GetSplitTimeSpan() public method

public GetSplitTimeSpan ( ) : System.TimeSpan
return System.TimeSpan

Reset() public method

public Reset ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Stopwatch() public method

public Stopwatch ( ) : System
return System