20.08
|
#include <ProfilingMocks.hpp>
Public Member Functions | |
MockProfilingService (MockBufferManager &mockBufferManager, bool isProfilingEnabled, const CaptureData &captureData) | |
ProfilingDynamicGuid | NextGuid () override |
Return the next random Guid in the sequence. More... | |
ProfilingStaticGuid | GenerateStaticId (const std::string &str) override |
Create a ProfilingStaticGuid based on a hash of the string. More... | |
std::unique_ptr< ISendTimelinePacket > | GetSendTimelinePacket () const override |
const ICounterMappings & | GetCounterMappings () const override |
ISendCounterPacket & | GetSendCounterPacket () override |
bool | IsProfilingEnabled () const override |
CaptureData | GetCaptureData () override |
void | RegisterMapping (uint16_t globalCounterId, uint16_t backendCounterId, const armnn::BackendId &backendId) |
void | Reset () |
Public Member Functions inherited from ProfilingService | |
ProfilingService (Optional< IReportStructure &> reportStructure=EmptyOptional()) | |
~ProfilingService () | |
void | ResetExternalProfilingOptions (const ExternalProfilingOptions &options, bool resetProfilingService=false) |
ProfilingState | ConfigureProfilingService (const ExternalProfilingOptions &options, bool resetProfilingService=false) |
void | Update () |
void | Disconnect () |
void | AddBackendProfilingContext (const BackendId backendId, std::shared_ptr< armnn::profiling::IBackendProfilingContext > profilingContext) |
void | NotifyBackendsForTimelineReporting () override |
const ICounterDirectory & | GetCounterDirectory () const |
ICounterRegistry & | GetCounterRegistry () |
ProfilingState | GetCurrentState () const |
bool | IsCounterRegistered (uint16_t counterUid) const override |
uint32_t | GetAbsoluteCounterValue (uint16_t counterUid) const override |
uint32_t | GetDeltaCounterValue (uint16_t counterUid) override |
uint16_t | GetCounterCount () const override |
IRegisterCounterMapping & | GetCounterMappingRegistry () |
void | SetCaptureData (uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< BackendId > &activeBackends) |
void | SetCounterValue (uint16_t counterUid, uint32_t value) override |
uint32_t | AddCounterValue (uint16_t counterUid, uint32_t value) override |
uint32_t | SubtractCounterValue (uint16_t counterUid, uint32_t value) override |
uint32_t | IncrementCounterValue (uint16_t counterUid) override |
void | ResetGuidGenerator () |
bool | IsTimelineReportingEnabled () |
void | AddLocalPacketHandler (ILocalPacketHandlerSharedPtr localPacketHandler) |
void | NotifyProfilingServiceActive () override |
void | WaitForProfilingServiceActivation (unsigned int timeout) override |
Public Member Functions inherited from IReadWriteCounterValues | |
virtual | ~IReadWriteCounterValues () |
Public Member Functions inherited from IReadCounterValues | |
virtual | ~IReadCounterValues () |
Public Member Functions inherited from IWriteCounterValues | |
virtual | ~IWriteCounterValues () |
Public Member Functions inherited from IProfilingService | |
virtual | ~IProfilingService () |
Public Member Functions inherited from IProfilingGuidGenerator | |
virtual | ~IProfilingGuidGenerator () |
Public Member Functions inherited from IProfilingServiceStatus | |
virtual | ~IProfilingServiceStatus () |
Public Member Functions inherited from INotifyBackends | |
virtual | ~INotifyBackends () |
Definition at line 628 of file ProfilingMocks.hpp.
|
inline |
Definition at line 631 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Create a ProfilingStaticGuid based on a hash of the string.
Reimplemented from ProfilingService.
Definition at line 646 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Reimplemented from ProfilingService.
Definition at line 671 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Reimplemented from ProfilingService.
Definition at line 656 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Reimplemented from ProfilingService.
Definition at line 661 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Reimplemented from ProfilingService.
Definition at line 651 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Reimplemented from ProfilingService.
Definition at line 666 of file ProfilingMocks.hpp.
|
inlineoverridevirtual |
Return the next random Guid in the sequence.
Reimplemented from ProfilingService.
Definition at line 640 of file ProfilingMocks.hpp.
|
inline |
Definition at line 677 of file ProfilingMocks.hpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 684 of file ProfilingMocks.hpp.