ArmNN
 20.02
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 487 of file Profiling.cpp.

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

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

◆ GetProfiler()

Profiler * GetProfiler ( )

Definition at line 499 of file Profiling.cpp.

References armnn::tl_Profiler.

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

500 {
501  return tl_Profiler;
502 }
thread_local Profiler * tl_Profiler
Definition: Profiling.cpp:485

◆ RegisterProfiler()

void RegisterProfiler ( Profiler profiler)

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