From b682d840bb0b4cc34f4febb69c2385feec880ae1 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 16 Oct 2019 12:24:20 +0100 Subject: IVGCVSW-3721 Add support for startup sequence (Mock Gatord service). * Updated ExecuteNetwork to propagate a configured Runtime down to RunTest. * Fixed the creation of PeriodicCounterCaptureCommandHandler to match other handlers. * Moved around some printouts to make the MockGatorD output more useful. * Added details to the exception handling for problems in the GatordMockService receive thread. * Mockutils::ConstructHeader is only used in GatordMockTests. Moved it in there and deleted MockUtils.hpp * Refactored SendPeriodicCounterSelectionList to use ProfilingUtils. * Added PeriodicCounterSelectionResponseHandler to received packet echoed back. Signed-off-by: Colm Donelan Change-Id: I4accdbf6cf5dd3f7dcc12b210b8360b4a5e4e277 --- tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp') diff --git a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp index f3bf7960ea..90d52a7848 100644 --- a/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp +++ b/tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.cpp @@ -97,7 +97,7 @@ void PeriodicCounterCaptureCommandHandler::ParseData(const armnn::profiling::Pac void PeriodicCounterCaptureCommandHandler::operator()(const profiling::Packet& packet) { ParseData(packet); - if (m_EchoPackets) + if (!m_QuietOperation) // Are we supposed to print to stdout? { std::string header, body, uidString, valueString; -- cgit v1.2.1