ArmNN
 22.08
ProfilingServiceRuntimeHelper Class Reference

#include <ProfilingTestUtils.hpp>

Inheritance diagram for ProfilingServiceRuntimeHelper:

Public Member Functions

 ProfilingServiceRuntimeHelper (uint16_t maxGlobalCounterId, IInitialiseProfilingService &initialiser, arm::pipe::IProfilingService &profilingService)
 
 ~ProfilingServiceRuntimeHelper ()=default
 
BufferManager & GetProfilingBufferManager ()
 
void ForceTransitionToState (ProfilingState newState)
 

Public Attributes

arm::pipe::IProfilingService & m_ProfilingService
 

Detailed Description

Definition at line 74 of file ProfilingTestUtils.hpp.

Constructor & Destructor Documentation

◆ ProfilingServiceRuntimeHelper()

ProfilingServiceRuntimeHelper ( uint16_t  maxGlobalCounterId,
IInitialiseProfilingService initialiser,
arm::pipe::IProfilingService &  profilingService 
)
inline

Definition at line 77 of file ProfilingTestUtils.hpp.

80  : ProfilingService(maxGlobalCounterId,
81  initialiser,
82  arm::pipe::ARMNN_SOFTWARE_INFO,
83  arm::pipe::ARMNN_SOFTWARE_VERSION,
84  arm::pipe::ARMNN_HARDWARE_VERSION),
85  m_ProfilingService(profilingService) {}
arm::pipe::IProfilingService & m_ProfilingService

◆ ~ProfilingServiceRuntimeHelper()

Member Function Documentation

◆ ForceTransitionToState()

void ForceTransitionToState ( ProfilingState  newState)
inline

Definition at line 94 of file ProfilingTestUtils.hpp.

References armnn::ConfigureLogging().

Referenced by TEST_SUITE(), and VerifyPostOptimisationStructureTestImpl().

95  {
96  TransitionToState(static_cast<arm::pipe::ProfilingService&>(m_ProfilingService), newState);
97  }
arm::pipe::IProfilingService & m_ProfilingService

◆ GetProfilingBufferManager()

BufferManager& GetProfilingBufferManager ( )
inline

Definition at line 88 of file ProfilingTestUtils.hpp.

Referenced by TEST_SUITE(), and VerifyPostOptimisationStructureTestImpl().

89  {
90  return GetBufferManager(static_cast<arm::pipe::ProfilingService&>(m_ProfilingService));
91  }
arm::pipe::IProfilingService & m_ProfilingService

Member Data Documentation

◆ m_ProfilingService

arm::pipe::IProfilingService& m_ProfilingService

Definition at line 92 of file ProfilingTestUtils.hpp.


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