Photon Fusion 2.0.3

Static Public Member Functions | Static Public Attributes | List of all members
EngineProfiler Class Reference

Provides a set of methods to profile the engine. More...

Static Public Member Functions

static void Begin (string sample)
 Begins a profiling sample with the specified name. More...
 
static void End ()
 Ends the current profiling sample. More...
 
static void InputQueue (int value)
 Invokes the input queue callback with the specified value. More...
 
static void InputRecvDelta (float value)
 Invokes the input receive delta callback with the specified value. More...
 
static void InputRecvDeltaDeviation (float value)
 Invokes the input receive delta deviation callback with the specified value. More...
 
static void InputSize (int value)
 Invokes the input size callback with the specified value. More...
 
static void InterpolationOffset (float value)
 Invokes the interpolation offset callback with the specified value. More...
 
static void InterpolationOffsetDeviation (float value)
 Invokes the interpolation offset deviation callback with the specified value. More...
 
static void InterpolationSpeed (float value)
 Invokes the interpolation speed callback with the specified value. More...
 
static void Resimulations (int value)
 Invokes the resimulations callback with the specified value. More...
 
static void RoundTripTime (float value)
 Invokes the round trip time callback with the specified value. More...
 
static void RpcIn (int value)
 Invokes the RPC in callback with the specified value. More...
 
static void RpcOut (int value)
 Invokes the RPC out callback with the specified value. More...
 
static void SimulationOffset (float value)
 Invokes the simulation offset callback with the specified value. More...
 
static void SimulationOffsetDeviation (float value)
 Invokes the simulation offset deviation callback with the specified value. More...
 
static void SimulationSpeed (float value)
 Invokes the simulation speed callback with the specified value. More...
 
static void StateRecvDelta (float value)
 Invokes the state receive delta callback with the specified value. More...
 
static void StateRecvDeltaDeviation (float value)
 Invokes the state receive delta deviation callback with the specified value. More...
 
static void WorldSnapshotSize (int value)
 Invokes the world snapshot size callback with the specified value. More...
 

Static Public Attributes

static Action< int > InputQueueCallback
 Callback for input queue profiling. More...
 
static Action< float > InputRecvDeltaCallback
 Callback for input receive delta profiling. More...
 
static Action< float > InputRecvDeltaDeviationCallback
 Callback for input receive delta deviation profiling. More...
 
static Action< int > InputSizeCallback
 Callback for input size profiling. More...
 
static Action< float > InterpolationOffsetCallback
 Callback for interpolation offset profiling. More...
 
static Action< float > InterpolationOffsetDeviationCallback
 Callback for interpolation offset deviation profiling. More...
 
static Action< float > InterpolationSpeedCallback
 Callback for interpolation speed profiling. More...
 
static Action< int > ResimulationsCallback
 Callback for resimulations profiling. More...
 
static Action< float > RoundTripTimeCallback
 Callback for round trip time profiling. More...
 
static Action< int > RpcInCallback
 Callback for RPC in profiling. More...
 
static Action< int > RpcOutCallback
 Callback for RPC out profiling. More...
 
static Action< float > SimulationOffsetCallback
 Callback for simulation offset profiling. More...
 
static Action< float > SimulationOffsetDeviationCallback
 Callback for simulation offset deviation profiling. More...
 
static Action< float > SimulationSpeedCallback
 Callback for simulation speed profiling. More...
 
static Action< float > StateRecvDeltaCallback
 Callback for state receive delta profiling. More...
 
static Action< float > StateRecvDeltaDeviationCallback
 Callback for state receive delta deviation profiling. More...
 
static Action< int > WorldSnapshotSizeCallback
 Callback for world snapshot size profiling. More...
 

Detailed Description

Provides a set of methods to profile the engine.

Member Function Documentation

◆ Begin()

static void Begin ( string  sample)
static

Begins a profiling sample with the specified name.

Parameters
sampleThe name of the profiling sample.

◆ End()

static void End ( )
static

Ends the current profiling sample.

◆ InputQueue()

static void InputQueue ( int  value)
static

Invokes the input queue callback with the specified value.

Parameters
valueThe input queue value.

◆ InputRecvDelta()

static void InputRecvDelta ( float  value)
static

Invokes the input receive delta callback with the specified value.

Parameters
valueThe input receive delta value.

◆ InputRecvDeltaDeviation()

static void InputRecvDeltaDeviation ( float  value)
static

Invokes the input receive delta deviation callback with the specified value.

Parameters
valueThe input receive delta deviation value.

◆ InputSize()

static void InputSize ( int  value)
static

Invokes the input size callback with the specified value.

Parameters
valueThe input size value.

◆ InterpolationOffset()

static void InterpolationOffset ( float  value)
static

Invokes the interpolation offset callback with the specified value.

Parameters
valueThe interpolation offset value.

◆ InterpolationOffsetDeviation()

static void InterpolationOffsetDeviation ( float  value)
static

Invokes the interpolation offset deviation callback with the specified value.

Parameters
valueThe interpolation offset deviation value.

◆ InterpolationSpeed()

static void InterpolationSpeed ( float  value)
static

Invokes the interpolation speed callback with the specified value.

Parameters
valueThe interpolation speed value.

◆ Resimulations()

static void Resimulations ( int  value)
static

Invokes the resimulations callback with the specified value.

Parameters
valueThe resimulations value.

◆ RoundTripTime()

static void RoundTripTime ( float  value)
static

Invokes the round trip time callback with the specified value.

Parameters
valueThe round trip time value.

◆ RpcIn()

static void RpcIn ( int  value)
static

Invokes the RPC in callback with the specified value.

Parameters
valueThe RPC in value.

◆ RpcOut()

static void RpcOut ( int  value)
static

Invokes the RPC out callback with the specified value.

Parameters
valueThe RPC out value.

◆ SimulationOffset()

static void SimulationOffset ( float  value)
static

Invokes the simulation offset callback with the specified value.

Parameters
valueThe simulation offset value.

◆ SimulationOffsetDeviation()

static void SimulationOffsetDeviation ( float  value)
static

Invokes the simulation offset deviation callback with the specified value.

Parameters
valueThe simulation offset deviation value.

◆ SimulationSpeed()

static void SimulationSpeed ( float  value)
static

Invokes the simulation speed callback with the specified value.

Parameters
valueThe simulation speed value.

◆ StateRecvDelta()

static void StateRecvDelta ( float  value)
static

Invokes the state receive delta callback with the specified value.

Parameters
valueThe state receive delta value.

◆ StateRecvDeltaDeviation()

static void StateRecvDeltaDeviation ( float  value)
static

Invokes the state receive delta deviation callback with the specified value.

Parameters
valueThe state receive delta deviation value.

◆ WorldSnapshotSize()

static void WorldSnapshotSize ( int  value)
static

Invokes the world snapshot size callback with the specified value.

Parameters
valueThe world snapshot size value.

Member Data Documentation

◆ InputQueueCallback

Action<int> InputQueueCallback
static

Callback for input queue profiling.

◆ InputRecvDeltaCallback

Action<float> InputRecvDeltaCallback
static

Callback for input receive delta profiling.

◆ InputRecvDeltaDeviationCallback

Action<float> InputRecvDeltaDeviationCallback
static

Callback for input receive delta deviation profiling.

◆ InputSizeCallback

Action<int> InputSizeCallback
static

Callback for input size profiling.

◆ InterpolationOffsetCallback

Action<float> InterpolationOffsetCallback
static

Callback for interpolation offset profiling.

◆ InterpolationOffsetDeviationCallback

Action<float> InterpolationOffsetDeviationCallback
static

Callback for interpolation offset deviation profiling.

◆ InterpolationSpeedCallback

Action<float> InterpolationSpeedCallback
static

Callback for interpolation speed profiling.

◆ ResimulationsCallback

Action<int> ResimulationsCallback
static

Callback for resimulations profiling.

◆ RoundTripTimeCallback

Action<float> RoundTripTimeCallback
static

Callback for round trip time profiling.

◆ RpcInCallback

Action<int> RpcInCallback
static

Callback for RPC in profiling.

◆ RpcOutCallback

Action<int> RpcOutCallback
static

Callback for RPC out profiling.

◆ SimulationOffsetCallback

Action<float> SimulationOffsetCallback
static

Callback for simulation offset profiling.

◆ SimulationOffsetDeviationCallback

Action<float> SimulationOffsetDeviationCallback
static

Callback for simulation offset deviation profiling.

◆ SimulationSpeedCallback

Action<float> SimulationSpeedCallback
static

Callback for simulation speed profiling.

◆ StateRecvDeltaCallback

Action<float> StateRecvDeltaCallback
static

Callback for state receive delta profiling.

◆ StateRecvDeltaDeviationCallback

Action<float> StateRecvDeltaDeviationCallback
static

Callback for state receive delta deviation profiling.

◆ WorldSnapshotSizeCallback

Action<int> WorldSnapshotSizeCallback
static

Callback for world snapshot size profiling.