class HWCPipe

Defined at line 42 of file ../../third_party/github.com/ARM-software/HWCPipe/hwcpipe.h

A class that collects CPU/GPU performance data.

Public Methods

void HWCPipe (CpuCounterSet enabled_cpu_counters, GpuCounterSet enabled_gpu_counters)

Initializes HWCPipe with the specified counters

void HWCPipe ()

Initializes HWCPipe with a default set of counters

const CpuProfiler * cpu_profiler ()

Defined at line 74 of file ../../third_party/github.com/ARM-software/HWCPipe/hwcpipe.h

const GpuProfiler * gpu_profiler ()

Defined at line 78 of file ../../third_party/github.com/ARM-software/HWCPipe/hwcpipe.h

void set_enabled_cpu_counters (CpuCounterSet counters)

Sets the enabled counters for the CPU profiler

void set_enabled_gpu_counters (GpuCounterSet counters)

Sets the enabled counters for the GPU profiler

void run ()

Starts a profiling session

Measurements sample ()

Sample the counters. The function returns pointers to the CPU and GPU

measurements maps, if the corresponding profiler is enabled.

The entries in the maps are 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