Skip to content
heliaRT
API reference
HELIA HUB

MicroProfilerInterface

Profiling callback interface.

Machine-readable model

class

Interface class that the TFLM framework relies on for profiling.

tensorflow/lite/micro/micro_profiler_interface.h:24

class MicroProfilerInterface

Interface class that the TFLM framework relies on for profiling.

method

Marks the start of a new event and returns an event handle that can be used to mark the end of the event via EndEvent.

tensorflow/lite/micro/micro_profiler_interface.h:30

virtual uint32_t tflite::MicroProfilerInterface::BeginEvent(const char *tag) = 0

Marks the start of a new event and returns an event handle that can be used to mark the end of the event via EndEvent.

Parameters of BeginEvent
NameTypeDefaultDescription
tagconst char *Required
method

Marks the end of an event associated with eventhandle.

tensorflow/lite/micro/micro_profiler_interface.h:33

virtual void tflite::MicroProfilerInterface::EndEvent(uint32_t event_handle) = 0

Marks the end of an event associated with event_handle.

Parameters of EndEvent
NameTypeDefaultDescription
event_handleuint32_tRequired