ArmNN  NotReleased
MockBackendProfilingService Class Reference

#include <MockBackend.hpp>

Public Member Functions

MockBackendProfilingContextGetContext ()
 
void SetProfilingContextPtr (std::shared_ptr< MockBackendProfilingContext > shared)
 

Static Public Member Functions

static MockBackendProfilingServiceInstance ()
 

Detailed Description

Definition at line 100 of file MockBackend.hpp.

Member Function Documentation

◆ GetContext()

MockBackendProfilingContext* GetContext ( )
inline

Definition at line 110 of file MockBackend.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

111  {
112  return m_sharedContext.get();
113  }

◆ Instance()

static MockBackendProfilingService& Instance ( )
inlinestatic

Definition at line 104 of file MockBackend.hpp.

Referenced by BOOST_AUTO_TEST_CASE(), and MockBackend::CreateBackendProfilingContext().

105  {
106  static MockBackendProfilingService instance;
107  return instance;
108  }

◆ SetProfilingContextPtr()

void SetProfilingContextPtr ( std::shared_ptr< MockBackendProfilingContext shared)
inline

Definition at line 115 of file MockBackend.hpp.

Referenced by MockBackend::CreateBackendProfilingContext().

116  {
117  m_sharedContext = shared;
118  }

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