Photon Quantum 3.0.0

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

Data collected by the profiler. More...

Public Member Functions

ProfilerData Clone ()
 Creates a deep copy of the profiler data. More...
 

Public Attributes

string Name
 Name of the profiler. Profiler for the main thread will have the name "Main Thread", wheras working threads will have the name "Worker Thread #X". More...
 
Sample[] Samples
 Samples collected by the profiler. More...
 

Detailed Description

Data collected by the profiler.

Member Function Documentation

◆ Clone()

ProfilerData Quantum.Profiling.ProfilerData.Clone ( )
inline

Creates a deep copy of the profiler data.

Returns
A new instance of the ProfilerData struct that is a copy of this instance.

Member Data Documentation

◆ Name

string Quantum.Profiling.ProfilerData.Name

Name of the profiler. Profiler for the main thread will have the name "Main Thread", wheras working threads will have the name "Worker Thread #X".

◆ Samples

Sample [] Quantum.Profiling.ProfilerData.Samples

Samples collected by the profiler.