21.02
|
#include <BackendProfiling.hpp>
Public Member Functions | |
BackendProfiling (const IRuntime::CreationOptions &options, ProfilingService &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 67 of file BackendProfiling.cpp.
References ICounterMappings::GetBackendId(), ProfilingService::GetCaptureData(), CaptureData::GetCapturePeriod(), CaptureData::GetCounterIds(), and ProfilingService::GetCounterMappings().
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 51 of file BackendProfiling.cpp.
References ProfilingService::GetCaptureData(), CaptureData::GetCapturePeriod(), ProfilingService::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 27 of file BackendProfiling.cpp.
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 22 of file BackendProfiling.cpp.
References ProfilingService::GetSendTimelinePacket().
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 90 of file BackendProfiling.cpp.
References ProfilingService::IsProfilingEnabled().
Referenced by BackendProfiling::~BackendProfiling().
|
overridevirtual |
Implements IBackendProfiling.
Definition at line 33 of file BackendProfiling.cpp.
References ProfilingService::GetCounterMappings(), ICounterMappings::GetGlobalId(), ProfilingService::GetSendCounterPacket(), and ISendCounterPacket::SendPeriodicCounterCapturePacket().
Referenced by BOOST_AUTO_TEST_CASE(), and BackendProfiling::~BackendProfiling().