[development] Profiler gem cleanup (#7533)

Consolidated the contents of CpuProfilerImp.h into CpuProfiler.h
Renamed CpuProfilerImpl.cpp to CpuProfiler.cpp
Collapsed the CpuProfilerImpl class into the intermediary CpuProfiler interface class, removing that interface type
Replaced all calls to the old CpuProfiler interface with AZ::Debug::ProfilerSystemInterface
Added accessor to see if a continuous capture is in progress to AZ::Debug::ProfilerRequests

Signed-off-by: AMZN-ScottR 24445312+AMZN-ScottR@users.noreply.github.com
This commit is contained in:
Scott Romero
2022-02-17 14:00:49 -08:00
committed by GitHub
parent 2589cb20e5
commit a20f48915e
9 changed files with 215 additions and 250 deletions
@@ -58,6 +58,10 @@ namespace AZ
//! Starting/ending a multi-frame capture of profiling data
virtual bool StartCapture(AZStd::string outputFilePath) = 0;
virtual bool EndCapture() = 0;
//! Check to see if a programmatic capture is currently in progress, implies
//! that the profiler is active if returns True.
virtual bool IsCaptureInProgress() const = 0;
};
using ProfilerSystemInterface = AZ::Interface<ProfilerRequests>;