ArmNN
 20.11
ProfilerManager Class Reference

#include <Profiling.hpp>

Public Member Functions

void RegisterProfiler (Profiler *profiler)
 
ProfilerGetProfiler ()
 

Static Public Member Functions

static ProfilerManagerGetInstance ()
 

Detailed Description

Definition at line 93 of file Profiling.hpp.

Member Function Documentation

◆ GetInstance()

ProfilerManager & GetInstance ( )
static

Definition at line 486 of file Profiling.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), DetectionPostProcessImpl(), Runtime::EnqueueWorkload(), armnn::GetProfilerEventSequenceSize(), GetSoftmaxProfilerJson(), LoadedNetwork::MakeLoadedNetwork(), RunTestFunction(), RunTestFunctionUsingTensorHandleFactory(), and Profiler::~Profiler().

487 {
488  // Global reference to the single ProfileManager instance allowed.
489  static ProfilerManager s_ProfilerManager;
490  return s_ProfilerManager;
491 }

◆ GetProfiler()

Profiler * GetProfiler ( )

Definition at line 498 of file Profiling.cpp.

References armnn::tl_Profiler.

Referenced by BOOST_AUTO_TEST_CASE(), and armnn::GetProfilerEventSequenceSize().

499 {
500  return tl_Profiler;
501 }
thread_local Profiler * tl_Profiler
Definition: Profiling.cpp:484

◆ RegisterProfiler()


The documentation for this class was generated from the following files: