class
Interface class that the TFLM framework relies on for profiling.
class MicroProfilerInterfaceInterface class that the TFLM framework relies on for profiling.
method
virtual tflite::MicroProfilerInterface::~MicroProfilerInterface()method
BeginEvent
C++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.
virtual uint32_t tflite::MicroProfilerInterface::BeginEvent(const char *tag) = 0Marks 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
| Name | Type | Default | Description |
|---|---|---|---|
tag | const char * | Required |
method
EndEvent
C++Marks the end of an event associated with eventhandle.
virtual void tflite::MicroProfilerInterface::EndEvent(uint32_t event_handle) = 0Marks the end of an event associated with event_handle.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
event_handle | uint32_t | Required |