Skip to content
heliaRT
API reference
HELIA HUB

ScopedMicroProfiler

Scope-based profiling event lifetime.

Machine-readable model

class

This class can be used to add events to a MicroProfiler object that span the lifetime of the ScopedMicroProfiler object.

tensorflow/lite/micro/micro_profiler.h:116

class ScopedMicroProfiler

This class can be used to add events to a MicroProfiler object that span the lifetime of the ScopedMicroProfiler object. Usage example:

MicroProfiler profiler(); … { ScopedMicroProfiler scoped_profiler(“custom_tag”, profiler); work_to_profile(); }