Class ProfilingTools
Profiler tools for development. Allows to gather profiling data and events from the engine.
Inheritance
ProfilingTools
Assembly: FlaxEngine.dll
File: Engine/Profiler/ProfilingTools.h
Syntax
public class ProfilingTools
Fields
EventsCPU
The CPU threads profiler events.
Declaration
public static Array<ThreadStats, InlinedAllocation<64>> EventsCPU
Field Value
Array<ThreadStats, InlinedAllocation<64>>
|
EventsGPU
The GPU rendering profiler events.
Declaration
public static Array<ProfilerGPU::Event> EventsGPU
Field Value
Array<ProfilerGPU::Event>
|
EventsNetwork
The networking profiler events.
Declaration
public static Array<NetworkEventStat> EventsNetwork
Field Value
Array<NetworkEventStat>
|
Stats
The current collected main stats by the profiler from the local session. Updated every frame.
Declaration
public static MainStats Stats
Field Value
MainStats
|
Methods
GetEnabled()
Controls the engine profiler (CPU, GPU, etc.) usage.
Declaration
public static bool GetEnabled()
Returns
bool
|
SetEnabled(bool enabled)
Controls the engine profiler (CPU, GPU, etc.) usage.
Declaration
public static void SetEnabled(bool enabled)
Parameters
bool
enabled
|