class CpuProfiler
Defined at line 89 of file ../../third_party/github.com/ARM-software/HWCPipe/cpu_profiler.h
An interface for classes that collect CPU performance data.
Public Methods
const CpuCounterSet & enabled_counters ()
Returns the enabled counters
const CpuCounterSet & supported_counters ()
Returns the counters that the platform supports
void set_enabled_counters (CpuCounterSet counters)
Sets the enabled counters after initialization
void run ()
Starts a profiling session
const CpuMeasurements & sample ()
Sample the counters. Returns a map of measurements for the counters
that are both available and enabled.
A profiling session must be running when sampling the counters.
void stop ()
Stops the active profiling session
void ~CpuProfiler ()
Defined at line 92 of file ../../third_party/github.com/ARM-software/HWCPipe/cpu_profiler.h