20.02
|
#include <BackendProfiling.hpp>
Public Member Functions | |
BackendProfiling (const IRuntime::CreationOptions &options, IProfilingService &profilingService, const BackendId &backendId) | |
~BackendProfiling () | |
std::unique_ptr< IRegisterBackendCounters > | GetCounterRegistrationInterface (uint16_t currentMaxGlobalCounterID) override |
std::unique_ptr< ISendTimelinePacket > | GetSendTimelinePacket () override |
IProfilingGuidGenerator & | GetProfilingGuidGenerator () override |
void | ReportCounters (const std::vector< Timestamp > &) override |
CounterStatus | GetCounterStatus (uint16_t backendCounterId) override |
std::vector< CounterStatus > | GetActiveCounters () override |
bool | IsProfilingEnabled () const override |
Public Member Functions inherited from IBackendProfiling | |
virtual | ~IBackendProfiling () |
Definition at line 17 of file BackendProfiling.hpp.
|
inline |
Definition at line 20 of file BackendProfiling.hpp.
|
inline |
Definition at line 27 of file BackendProfiling.hpp.
References BackendProfiling::GetActiveCounters(), BackendProfiling::GetCounterRegistrationInterface(), BackendProfiling::GetCounterStatus(), BackendProfiling::GetProfilingGuidGenerator(), BackendProfiling::GetSendTimelinePacket(), BackendProfiling::IsProfilingEnabled(), and BackendProfiling::ReportCounters().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 66 of file BackendProfiling.cpp.
References ICounterMappings::GetBackendId(), IProfilingService::GetCaptureData(), CaptureData::GetCapturePeriod(), CaptureData::GetCounterIds(), ProfilingService::GetCounterMappings(), and ProfilingService::Instance().
Referenced by BOOST_AUTO_TEST_CASE(), and BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 16 of file BackendProfiling.cpp.
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 50 of file BackendProfiling.cpp.
References IProfilingService::GetCaptureData(), CaptureData::GetCapturePeriod(), IProfilingService::GetCounterMappings(), ICounterMappings::GetGlobalId(), CaptureData::IsCounterIdInCaptureData(), CounterStatus::m_Enabled, and CounterStatus::m_SamplingRateInMicroseconds.
Referenced by BOOST_AUTO_TEST_CASE(), and BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 26 of file BackendProfiling.cpp.
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 21 of file BackendProfiling.cpp.
References IProfilingService::GetSendTimelinePacket().
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 89 of file BackendProfiling.cpp.
References IProfilingService::IsProfilingEnabled().
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 32 of file BackendProfiling.cpp.
References IProfilingService::GetCounterMappings(), ICounterMappings::GetGlobalId(), IProfilingService::GetSendCounterPacket(), and ISendCounterPacket::SendPeriodicCounterCapturePacket().
Referenced by BOOST_AUTO_TEST_CASE(), and BackendProfiling::~BackendProfiling().