Listen to 03DE frame/profiling events and forward them to the Optick profiling library. More...
#include <OptickProfilerEventForwarder.h>
Inherits AZ::Debug::Profiler, AZ::TickBus::Handler, and AZStd::ThreadEventBus::Handler.
Public Member Functions | |
AZ_RTTI (OptickProfilerEventForwarder, "{E4076EA4-EF44-499A-9750-37B623BBBF7C}", AZ::Debug::Profiler) | |
AZ_CLASS_ALLOCATOR (OptickProfilerEventForwarder, AZ::SystemAllocator) | |
void | Init () |
Registers/un-registers the AZ::Debug::Profiler instance to the interface. | |
void | Shutdown () |
void | BeginRegion (const AZ::Debug::Budget *budget, const char *eventName,...) final override |
AZ::Debug::Profiler overrides. | |
void | EndRegion (const AZ::Debug::Budget *budget) final override |
int | GetTickOrder () final override |
AZ::TickBus::Handler overrides. | |
void | OnTick (float deltaTime, AZ::ScriptTimePoint timePoint) final override |
virtual void | OnThreadEnter (const AZStd::thread::id &id, const AZStd::thread_desc *desc) final override |
AZStd::ThreadEventBus::Handler overrides. | |
virtual void | OnThreadExit (const AZStd::thread::id &id) final override |
Listen to 03DE frame/profiling events and forward them to the Optick profiling library.