Photon Server API

Public Member Functions | Properties | List of all members
Photon.SocketServer.Diagnostics.CpuUsageCounterReader Class Reference

The process cpu usage counter. More...

Inheritance diagram for Photon.SocketServer.Diagnostics.CpuUsageCounterReader:
ExitGames.Diagnostics.Counter.ICounter

Public Member Functions

long Decrement ()
 This method is not supported. More...
 
float GetNextValue ()
 Gets the next value. More...
 
long Increment ()
 This method is not supported. More...
 
long IncrementBy (long value)
 This method is not supported. More...
 

Properties

CounterType CounterType [get]
 Gets CounterType. More...
 
string Name [get]
 Gets Name. More...
 
- 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...
 

Detailed Description

The process cpu usage counter.

Member Function Documentation

◆ Decrement()

long Photon.SocketServer.Diagnostics.CpuUsageCounterReader.Decrement ( )
inline

This method is not supported.

Returns
Nothing. Throws a NotSupportedException.
Exceptions
NotSupportedExceptionThis is a read only counter.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ GetNextValue()

float Photon.SocketServer.Diagnostics.CpuUsageCounterReader.GetNextValue ( )
inline

Gets the next value.

Returns
The next value.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ Increment()

long Photon.SocketServer.Diagnostics.CpuUsageCounterReader.Increment ( )
inline

This method is not supported.

Returns
Nothing. Throws a NotSupportedException.
Exceptions
NotSupportedExceptionThis is a read only counter.

Implements ExitGames.Diagnostics.Counter.ICounter.

◆ IncrementBy()

long Photon.SocketServer.Diagnostics.CpuUsageCounterReader.IncrementBy ( long  value)
inline

This method is not supported.

Parameters
valueThe value to increment by.
Returns
Nothing. Throws a NotSupportedException.
Exceptions
NotSupportedExceptionThis is a read only counter.

Implements ExitGames.Diagnostics.Counter.ICounter.

Property Documentation

◆ CounterType

CounterType Photon.SocketServer.Diagnostics.CpuUsageCounterReader.CounterType
get

Gets CounterType.

◆ Name

string Photon.SocketServer.Diagnostics.CpuUsageCounterReader.Name
get

Gets Name.