21.11
|
OpenClTimer instrument that times all OpenCl kernels executed between calls to Start() and Stop(). More...
#include <OpenClTimer.hpp>
Public Member Functions | |
OpenClTimer () | |
~OpenClTimer ()=default | |
void | Start () override |
Start the OpenCl timer. More... | |
void | Stop () override |
Stop the OpenCl timer. More... | |
const char * | GetName () const override |
Get the name of the timer. More... | |
std::vector< Measurement > | GetMeasurements () const override |
Get the recorded measurements. More... | |
![]() | |
virtual | ~Instrument () |
OpenClTimer instrument that times all OpenCl kernels executed between calls to Start() and Stop().
Definition at line 20 of file OpenClTimer.hpp.
OpenClTimer | ( | ) |
Definition at line 17 of file OpenClTimer.cpp.
|
default |
|
overridevirtual |
Get the recorded measurements.
This will be a list of the execution durations for all the OpenCl kernels.
Implements Instrument.
Definition at line 81 of file OpenClTimer.cpp.
References OpenClTimer::GetName().
Referenced by OpenClTimer::GetName().
|
inlineoverridevirtual |
Get the name of the timer.
Implements Instrument.
Definition at line 34 of file OpenClTimer.hpp.
References armnn::Event, and OpenClTimer::GetMeasurements().
Referenced by OpenClTimer::GetMeasurements().
|
overridevirtual |
Start the OpenCl timer.
Implements Instrument.
Definition at line 21 of file OpenClTimer.cpp.
References armnn::IgnoreUnused().
|
overridevirtual |