Open 3D Engine Profiler Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Profiler::ProfilerSystemComponent Class Reference

Inherits AZ::Component, and AZ::Debug::ProfilerRequests.

Public Member Functions

 AZ_COMPONENT (ProfilerSystemComponent, "{3f52c1d7-d920-4781-8ed7-88077ec4f305}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Protected Member Functions

void Activate () override
 
void Deactivate () override
 
bool IsActive () const override
 
void SetActive (bool active) override
 
bool CaptureFrame (const AZStd::string &outputFilePath) override
 
bool StartCapture (AZStd::string outputFilePath) override
 
bool EndCapture () override
 
bool IsCaptureInProgress () const override
 

Protected Attributes

AZStd::thread m_cpuDataSerializationThread
 
AZStd::atomic_bool m_cpuDataSerializationInProgress { false }
 
AZStd::atomic_bool m_cpuCaptureInProgress { false }
 
CpuProfiler m_cpuProfiler
 
AZStd::string m_captureFile
 

The documentation for this class was generated from the following file: