Public Member Functions | |
AverageCounterReader (int capacity, string categoryName, string counterName) | |
AverageCounterReader (int capacity, string categoryName, string counterName, string instanceName) | |
double | GetNextAverage () |
Public Member Functions inherited from ExitGames.Diagnostics.Counter.PerformanceCounterReader | |
PerformanceCounterReader (string categoryName, string counterName) | |
Initializes a new instance of the PerformanceCounterReader class. More... | |
PerformanceCounterReader (string categoryName, string counterName, string instanceName) | |
Initializes a new instance of the PerformanceCounterReader class. More... | |
void | Initialize () |
Initalizes this instance. There is usally no need to call this method since the constructor has already taken care of it. More... | |
bool | TryGetValue (out float value) |
Tries to obtain a counter sample and returns the calculated value for it. More... | |
long | Decrement () |
Not supported by this readonly ICounter implementation. More... | |
float | GetNextValue () |
Obtains a counter sample and returns the calculated value for it. More... | |
long | Increment () |
Not supported by this readonly ICounter implementation. More... | |
long | IncrementBy (long value) |
Not supported by this readonly ICounter implementation. More... | |
void | Dispose () |
Releases all resources used by this instance. More... | |
Additional Inherited Members | |
Properties inherited from ExitGames.Diagnostics.Counter.PerformanceCounterReader | |
bool | CategoryExists [get] |
Gets a value indicating whether the given performance counter category exists. More... | |
string | CategoryName [get] |
Gets the name of the performance counter category for the performance counter. More... | |
bool | CounterExists [get] |
Gets a value indicating whether the given performance counter exists. More... | |
CounterType | CounterType [get] |
Gets the counter type of the associated performance counter. More... | |
bool | InstanceExists [get] |
Gets a value indicating whether the given performance counter instance exists. More... | |
string | InstanceName [get] |
Gets the instance name for the performance counter. More... | |
bool | IsSingleInstance [get] |
Gets a value indicating whether the performance counter category can have only a single instance. More... | |
string | Name [get] |
Gets the name of the counter. More... | |
bool | IsValid [get] |
Properties inherited from ExitGames.Diagnostics.Counter.ICounter | |
CounterType | CounterType [get] |
Gets the type of the counter. More... | |
string | Name [get] |
Gets the name of the counter. More... | |
bool | IsValid [get] |
Returns whether counter is valid or not For WindowsPerfCounters this method may return value whether counter exists or not More... | |
|
inline |
|
inline |
|
inline |