Photon Server API Documentation
v5.0RC1
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... | |
Public Attributes | |
| CounterType | CounterType => CounterType.Numeric |
| string | Name => "CpuPhoton" |
| bool | IsValid => true |
Additional Inherited Members | |
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 |
Decrements the counter by one.
Implements ExitGames.Diagnostics.Counter.ICounter.
|
inline |
|
inline |
Increments the counter by one and returns the new value.
Implements ExitGames.Diagnostics.Counter.ICounter.
|
inline |
Increments the counter by a given value.
| value | The value to be added to the counter. |
Implements ExitGames.Diagnostics.Counter.ICounter.
| CounterType Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.CounterType => CounterType.Numeric |
| bool Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.IsValid => true |
| string Photon.Common.LoadBalancer.LoadShedding.Diagnostics.Linux.LinuxCPUReader.Name => "CpuPhoton" |