diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-11-13 10:56:41 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-11-15 17:10:36 +0000 |
commit | 9723d0243463e3a32ed11ae1c38298343b4e8818 (patch) | |
tree | 336e01c0199657f4a0cf7e71acb056fba2c77a6f /src/profiling/RequestCounterDirectoryCommandHandler.hpp | |
parent | 87972be8d838f6fde6f6e98dd81c422e85457a5e (diff) | |
download | armnn-9723d0243463e3a32ed11ae1c38298343b4e8818.tar.gz |
IVGCVSW-4074 Send Timeline message in RequestCounterDirectoryCommandHandler
* Added call to SendTimelineMessageDirectoryPackage in the handler
* Updated the unit tests accordingly
* Refactored SendTimelinePacket to remove macro
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I7bb6f8575945b99a0e77ef30ecfe4dee3058669e
Diffstat (limited to 'src/profiling/RequestCounterDirectoryCommandHandler.hpp')
-rw-r--r-- | src/profiling/RequestCounterDirectoryCommandHandler.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profiling/RequestCounterDirectoryCommandHandler.hpp b/src/profiling/RequestCounterDirectoryCommandHandler.hpp index 907be89a22..99c035240c 100644 --- a/src/profiling/RequestCounterDirectoryCommandHandler.hpp +++ b/src/profiling/RequestCounterDirectoryCommandHandler.hpp @@ -7,6 +7,7 @@ #include "CommandHandlerFunctor.hpp" #include "ISendCounterPacket.hpp" +#include "ISendTimelinePacket.hpp" #include "Packet.hpp" #include "ProfilingStateMachine.hpp" @@ -25,10 +26,12 @@ public: uint32_t version, ICounterDirectory& counterDirectory, ISendCounterPacket& sendCounterPacket, + ISendTimelinePacket& sendTimelinePacket, ProfilingStateMachine& profilingStateMachine) : CommandHandlerFunctor(familyId, packetId, version) , m_CounterDirectory(counterDirectory) , m_SendCounterPacket(sendCounterPacket) + , m_SendTimelinePacket(sendTimelinePacket) , m_StateMachine(profilingStateMachine) {} @@ -37,6 +40,7 @@ public: private: const ICounterDirectory& m_CounterDirectory; ISendCounterPacket& m_SendCounterPacket; + ISendTimelinePacket& m_SendTimelinePacket; const ProfilingStateMachine& m_StateMachine; }; |