ArmNN
 24.02
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 593 of file Profiling.cpp.

594 {
595  // Global reference to the single ProfileManager instance allowed.
596  static ProfilerManager s_ProfilerManager;
597  return s_ProfilerManager;
598 }

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

◆ GetProfiler()

IProfiler * GetProfiler ( )

Definition at line 605 of file Profiling.cpp.

606 {
607  return tl_Profiler;
608 }

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:591