class GpuProfiler

Defined at line 169 of file ../../third_party/github.com/ARM-software/HWCPipe/gpu_profiler.h

An interface for classes that collect GPU performance data.

Public Methods

const GpuCounterSet & enabled_counters ()

Returns the enabled counters

const GpuCounterSet & supported_counters ()

Returns the counters that the platform supports

void set_enabled_counters (GpuCounterSet counters)

Sets the enabled counters after initialization

void run ()

Starts a profiling session

const GpuMeasurements & 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.

const RawGpuMeasurements & last_raw_sample ()
void stop ()

Stops the active profiling session

uint64_t timestamp ()

Timestamp of the last dump.

void ~GpuProfiler ()

Defined at line 172 of file ../../third_party/github.com/ARM-software/HWCPipe/gpu_profiler.h