ArmNN
 24.08
ProfilerManager Class Reference

#include <Profiling.hpp>

Public Member Functions

void RegisterProfiler (IProfiler *profiler)
 
IProfilerGetProfiler ()
 

Static Public Member Functions

static ProfilerManagerGetInstance ()
 

Detailed Description

Definition at line 111 of file Profiling.hpp.

Member Function Documentation

◆ GetInstance()

ProfilerManager & GetInstance ( )
static

Definition at line 602 of file Profiling.cpp.

603 {
604  // Global reference to the single ProfileManager instance allowed.
605  static ProfilerManager s_ProfilerManager;
606  return s_ProfilerManager;
607 }

Referenced by RuntimeImpl::CreateWorkingMemHandle(), RuntimeImpl::EnqueueWorkload(), RuntimeImpl::Execute(), RuntimeImpl::LoadNetwork(), armnn::ProfilingUpdateDescriptions(), RunTestFunction(), RunTestFunctionUsingTensorHandleFactory(), RuntimeImpl::UnloadNetwork(), and ProfilerImpl::~ProfilerImpl().

◆ GetProfiler()

IProfiler * GetProfiler ( )

Definition at line 614 of file Profiling.cpp.

615 {
616  return tl_Profiler;
617 }

References armnn::tl_Profiler.

◆ RegisterProfiler()


The documentation for this class was generated from the following files:
armnn::tl_Profiler
thread_local IProfiler * tl_Profiler
Definition: Profiling.cpp:600