diff options
author | Colm Donelan <Colm.Donelan@arm.com> | 2019-11-29 09:10:59 +0000 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-11-29 11:37:17 +0000 |
commit | 2ba48d251d0fe4dca214497ac33283106ca0973b (patch) | |
tree | d92ca2462e1853ac116dc8dd26c7c3afac4103c6 /src/profiling/ConnectionAcknowledgedCommandHandler.cpp | |
parent | e011d20f279e6e67e899bc6930b0266fc357bc1c (diff) | |
download | armnn-2ba48d251d0fe4dca214497ac33283106ca0973b.tar.gz |
IVGCVSW-4118 Fix long unit test execution
* Reduced sleep_for timings
* Removed duplicate SendStreamMetaDataPacket.
* Modified SendCounterPacket::WaitForPacketSent to use wait_for
* Modified SendCounterPacket::Send WaitingForAck to use wait_for
* Added destructor to StreamRedirector.
* Added method SendCounterPacketTests::HasWrittenData
* Restructured many tests in ProfilingTests.
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I55c59cac6674ac40a1056a5302a997d5da9e9d91
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Diffstat (limited to 'src/profiling/ConnectionAcknowledgedCommandHandler.cpp')
-rw-r--r-- | src/profiling/ConnectionAcknowledgedCommandHandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp index 630b555b6e..a2a045d1e0 100644 --- a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp +++ b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp @@ -37,9 +37,7 @@ void ConnectionAcknowledgedCommandHandler::operator()(const Packet& packet) // Once a Connection Acknowledged packet has been received, move to the Active state immediately m_StateMachine.TransitionToState(ProfilingState::Active); - - // Send all the packet required for the handshake with the external profiling service - m_SendCounterPacket.SendStreamMetaDataPacket(); + // Send the counter directory packet. m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory); m_SendTimelinePacket.SendTimelineMessageDirectoryPackage(); |