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.cpp | |
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.cpp')
-rw-r--r-- | src/profiling/RequestCounterDirectoryCommandHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profiling/RequestCounterDirectoryCommandHandler.cpp b/src/profiling/RequestCounterDirectoryCommandHandler.cpp index b8ac9d9426..2dbab3c1d5 100644 --- a/src/profiling/RequestCounterDirectoryCommandHandler.cpp +++ b/src/profiling/RequestCounterDirectoryCommandHandler.cpp @@ -34,8 +34,9 @@ void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet) % packet.GetPacketId())); } - // Write a Counter Directory packet to the Counter Stream Buffer + // Send all the packet required for the handshake with the external profiling service m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory); + m_SendTimelinePacket.SendTimelineMessageDirectoryPackage(); // Notify the Send Thread that new data is available in the Counter Stream Buffer m_SendCounterPacket.SetReadyToRead(); |