ONE - On-device Neural Engine
|
Class to measure CL kernels execution time. More...
#include <CLTimer.h>
Public Member Functions | |
void | handleBegin () override |
This function replaces CL function, which enqueues a command to execute a kernel with a wrapper which remembers enqueued kernels. | |
void | handleEnd () override |
Get timer result by addition executed CL kernels durations. | |
Public Member Functions inherited from onert::util::ITimer | |
int | getTime () |
virtual | ~ITimer ()=default |
Additional Inherited Members | |
Protected Attributes inherited from onert::util::ITimer | |
int | _timer_res {0} |
|
inlineoverridevirtual |
This function replaces CL function, which enqueues a command to execute a kernel with a wrapper which remembers enqueued kernels.
Implements onert::util::ITimer.
Definition at line 44 of file CLTimer.h.
|
inlineoverridevirtual |
Get timer result by addition executed CL kernels durations.
Implements onert::util::ITimer.
Definition at line 83 of file CLTimer.h.
References onert::util::ITimer::_timer_res.