C# Class System.Diagnostics.CounterSample

Show file Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
Empty System.Diagnostics.CounterSample

Public Methods

Method Description
Calculate ( System counterSample ) : float
Calculate ( System counterSample, System nextCounterSample ) : float
CounterSample ( long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System counterType )
CounterSample ( long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System counterType, long counterTimeStamp )
Equals ( System sample ) : bool
Equals ( object o ) : bool
GetHashCode ( ) : int
operator ( ) : bool

Method Details

Calculate() public static method

public static Calculate ( System counterSample ) : float
counterSample System
return float

Calculate() public static method

public static Calculate ( System counterSample, System nextCounterSample ) : float
counterSample System
nextCounterSample System
return float

CounterSample() public method

public CounterSample ( long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System counterType )
rawValue long
baseValue long
counterFrequency long
systemFrequency long
timeStamp long
timeStamp100nSec long
counterType System

CounterSample() public method

public CounterSample ( long rawValue, long baseValue, long counterFrequency, long systemFrequency, long timeStamp, long timeStamp100nSec, System counterType, long counterTimeStamp )
rawValue long
baseValue long
counterFrequency long
systemFrequency long
timeStamp long
timeStamp100nSec long
counterType System
counterTimeStamp long

Equals() public method

public Equals ( System sample ) : bool
sample System
return bool

Equals() public method

public Equals ( object o ) : bool
o object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public static property

public static System.Diagnostics.CounterSample Empty
return System.Diagnostics.CounterSample