Represents a counter instance. More...
Public Member Functions | |
long | Decrement () |
Decrements the counter by one. More... | |
float | GetNextValue () |
Gets the next value. More... | |
long | Increment () |
Increments the counter by one and returns the new value. More... | |
long | IncrementBy (long value) |
Increments the counter by a given value. More... | |
Properties | |
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... | |
Represents a counter instance.
long ExitGames.Diagnostics.Counter.ICounter.Decrement | ( | ) |
Decrements the counter by one.
Implemented in ExitGames.Diagnostics.Counter.PerformanceCounterReader, ExitGames.Diagnostics.Counter.WindowsPerformanceCounter, ExitGames.Diagnostics.Counter.NumericCounter, ExitGames.Diagnostics.Counter.CounterBase, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.CpuUsageCounterReader, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, ExitGames.Diagnostics.Counter.DummyCounter, ExitGames.Concurrency.Fibers.EmptyCounter, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesInCounterReader, and Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.
float ExitGames.Diagnostics.Counter.ICounter.GetNextValue | ( | ) |
Gets the next value.
Implemented in ExitGames.Diagnostics.Counter.PerformanceCounterReader, ExitGames.Diagnostics.Counter.WindowsPerformanceCounter, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, ExitGames.Diagnostics.Counter.NumericCounter, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.CounterBase, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.CpuUsageCounterReader, ExitGames.Diagnostics.Counter.DummyCounter, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesInCounterReader, ExitGames.Concurrency.Fibers.EmptyCounter, and Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.
long ExitGames.Diagnostics.Counter.ICounter.Increment | ( | ) |
Increments the counter by one and returns the new value.
Implemented in ExitGames.Diagnostics.Counter.PerformanceCounterReader, ExitGames.Diagnostics.Counter.WindowsPerformanceCounter, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.NumericCounter, ExitGames.Diagnostics.Counter.CounterBase, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.CpuUsageCounterReader, ExitGames.Diagnostics.Counter.DummyCounter, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesInCounterReader, ExitGames.Concurrency.Fibers.EmptyCounter, and Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.
long ExitGames.Diagnostics.Counter.ICounter.IncrementBy | ( | long | value | ) |
Increments the counter by a given value.
value | The value to be added to the counter. |
Implemented in ExitGames.Diagnostics.Counter.PerformanceCounterReader, ExitGames.Diagnostics.Counter.WindowsPerformanceCounter, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.NumericCounter, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.CpuUsageCounterReader, ExitGames.Diagnostics.Counter.CounterBase, ExitGames.Diagnostics.Counter.DummyCounter, Photon.SocketServer.Diagnostics.Counters.Wrappers.PerformanceCounterWrapper, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesOutCounterReader, Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxBytesInCounterReader, ExitGames.Concurrency.Fibers.EmptyCounter, and Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.
|
get |
Gets the type of the counter.
The type of the counter.
|
get |
Returns whether counter is valid or not For WindowsPerfCounters this method may return value whether counter exists or not
|
get |
Gets the name of the counter.