Method | Description | |
---|---|---|
GetElapsedTime ( |
Gets the elapsed time between two samples
|
|
SafeNextValue ( [ counter ) : float |
Safely gets the next value of a performance counter, by ensuring that a minimum duration has passed since the last next value was requested.
|
public static GetElapsedTime ( |
||
oldSample | The old sample. | |
newSample | The new sample. | |
return | System.Duration |
public static SafeNextValue ( [ counter ) : float | ||
counter | [ | The counter. |
return | float |