ArmNN
 20.02
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 102 of file MockBackend.hpp.

Member Function Documentation

◆ GetContext()

MockBackendProfilingContext* GetContext ( )
inline

Definition at line 112 of file MockBackend.hpp.

Referenced by BOOST_AUTO_TEST_CASE().

113  {
114  return m_sharedContext.get();
115  }

◆ Instance()

static MockBackendProfilingService& Instance ( )
inlinestatic

Definition at line 106 of file MockBackend.hpp.

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

107  {
108  static MockBackendProfilingService instance;
109  return instance;
110  }

◆ SetProfilingContextPtr()

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

Definition at line 117 of file MockBackend.hpp.

Referenced by MockBackend::CreateBackendProfilingContext().

118  {
119  m_sharedContext = shared;
120  }

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