#include <ProfilingMocks.hpp>
Definition at line 631 of file ProfilingMocks.hpp.
◆ MockProfilingService()
MockProfilingService |
( |
uint16_t |
maxGlobalCounterId, |
|
|
IInitialiseProfilingService & |
initialiser, |
|
|
MockBufferManager & |
mockBufferManager, |
|
|
bool |
isProfilingEnabled, |
|
|
const CaptureData & |
captureData |
|
) |
| |
|
inline |
Definition at line 634 of file ProfilingMocks.hpp.
639 ProfilingService(maxGlobalCounterId,
641 arm::pipe::ARMNN_SOFTWARE_INFO,
642 arm::pipe::ARMNN_SOFTWARE_VERSION,
643 arm::pipe::ARMNN_HARDWARE_VERSION),
644 m_SendCounterPacket(mockBufferManager,
645 arm::pipe::ARMNN_SOFTWARE_INFO,
646 arm::pipe::ARMNN_SOFTWARE_VERSION,
647 arm::pipe::ARMNN_HARDWARE_VERSION),
648 m_IsProfilingEnabled(isProfilingEnabled),
649 m_CaptureData(captureData)
◆ GenerateStaticId()
ProfilingStaticGuid GenerateStaticId |
( |
const std::string & |
str | ) |
|
|
inlineoverride |
Create a ProfilingStaticGuid based on a hash of the string.
Definition at line 659 of file ProfilingMocks.hpp.
661 return m_GuidGenerator.GenerateStaticId(str);
◆ GetCaptureData()
CaptureData GetCaptureData |
( |
| ) |
|
|
inlineoverride |
◆ GetCounterMappings()
const ICounterMappings& GetCounterMappings |
( |
| ) |
const |
|
inlineoverride |
◆ GetSendCounterPacket()
ISendCounterPacket& GetSendCounterPacket |
( |
| ) |
|
|
inlineoverride |
◆ GetSendTimelinePacket()
std::unique_ptr<ISendTimelinePacket> GetSendTimelinePacket |
( |
| ) |
const |
|
inlineoverride |
◆ IsProfilingEnabled()
bool IsProfilingEnabled |
( |
| ) |
const |
|
inlineoverride |
◆ NextGuid()
ProfilingDynamicGuid NextGuid |
( |
| ) |
|
|
inlineoverride |
Return the next random Guid in the sequence.
Definition at line 653 of file ProfilingMocks.hpp.
655 return m_GuidGenerator.NextGuid();
◆ RegisterMapping()
void RegisterMapping |
( |
uint16_t |
globalCounterId, |
|
|
uint16_t |
backendCounterId, |
|
|
const std::string & |
backendId |
|
) |
| |
|
inline |
Definition at line 690 of file ProfilingMocks.hpp.
694 m_CounterMapping.RegisterMapping(globalCounterId, backendCounterId, backendId);
◆ Reset()
The documentation for this class was generated from the following file: