Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.Profiling.ProfilerContextData Struct Reference

Represents the data collected by the profiler for all the threads for a single frame. More...

Public Member Functions

ProfilerContextData Clone ()
 Clones the profiler context data. More...
 

Public Attributes

int Frame
 Frame number. More...
 
long Frequency
 Stopwatch frequency. Can be used to normalize the tick values. More...
 
bool IsVerified
 Was the frame verified? More...
 
ProfilerData[] Profilers
 Per-thread profiler data. More...
 
int SimulationId
 Absolute number of the simulation. More...
 

Detailed Description

Represents the data collected by the profiler for all the threads for a single frame.

Member Function Documentation

◆ Clone()

ProfilerContextData Quantum.Profiling.ProfilerContextData.Clone ( )
inline

Clones the profiler context data.

Returns

Member Data Documentation

◆ Frame

int Quantum.Profiling.ProfilerContextData.Frame

Frame number.

◆ Frequency

long Quantum.Profiling.ProfilerContextData.Frequency

Stopwatch frequency. Can be used to normalize the tick values.

◆ Profilers

ProfilerData [] Quantum.Profiling.ProfilerContextData.Profilers

Per-thread profiler data.

◆ IsVerified

bool Quantum.Profiling.ProfilerContextData.IsVerified

Was the frame verified?

◆ SimulationId

int Quantum.Profiling.ProfilerContextData.SimulationId

Absolute number of the simulation.