The counts per second rate counter. More...
Public Member Functions | |
CountsPerSecondCounter () | |
Initializes a new instance of the CountsPerSecondCounter class. More... | |
CountsPerSecondCounter (string counterName) | |
Initializes a new instance of the CountsPerSecondCounter class. More... | |
override long | Decrement () |
Decrements the sharedCounter. More... | |
override sealed RawCounterSample | GetNextSample () |
Gets the next sample. More... | |
override float | GetNextValue () |
Get the value since the last GetNextValue call. More... | |
override long | Increment () |
Increments the counter. More... | |
override long | IncrementBy (long value) |
Increment the counter by a value. More... | |
Properties | |
override CounterType | CounterType [get] |
Gets the type of the counter. More... | |
Properties inherited from ExitGames.Diagnostics.Counter.CounterBase | |
abstract CounterType | CounterType [get] |
Gets the type of the counter. More... | |
string | Name [get] |
Gets Name. More... | |
bool | IsValid [get, protected set] |
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... | |
Additional Inherited Members | |
Protected Member Functions inherited from ExitGames.Diagnostics.Counter.CounterBase | |
CounterBase () | |
Initializes a new instance of the CounterBase class. More... | |
CounterBase (string name) | |
Initializes a new instance of the CounterBase class. More... | |
The counts per second rate counter.
|
inline |
Initializes a new instance of the CountsPerSecondCounter class.
|
inline |
Initializes a new instance of the CountsPerSecondCounter class.
counterName | The counterName. |
|
inlinevirtual |
Decrements the sharedCounter.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Gets the next sample.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Get the value since the last GetNextValue call.
This method is NOT thread safe.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
|
inlinevirtual |
Increment the counter by a value.
value | The value. |
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
get |
Gets the type of the counter.
The type of the counter.