[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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user