A dummy counter that does nothing. More...
Public Member Functions | |
DummyCounter (string name) | |
Initializes a new instance of the DummyCounter class. More... | |
override long | Decrement () |
Decrements the counter. More... | |
override RawCounterSample | GetNextSample () |
Gets the next sample. More... | |
override float | GetNextValue () |
Gets the next value. More... | |
override long | Increment () |
Increments the counter. More... | |
override long | IncrementBy (long value) |
Increments the counter. 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... | |
A dummy counter that does nothing.
|
inline |
Initializes a new instance of the DummyCounter class.
name | The name. |
|
inlinevirtual |
|
inlinevirtual |
Gets the next sample.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Increments the counter.
value | The value. |
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
get |
Gets the type of the counter.
The type of the counter.