aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockService.hpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-04-09 16:05:28 +0100
committerFinn Williams <Finn.Williams@arm.com>2020-04-10 14:48:56 +0100
commitfe5a24beeef6e9a41366e694f41093565e748048 (patch)
tree72c660062f9c8287e54176dfbd8c5aa0269f2e51 /tests/profiling/gatordmock/GatordMockService.hpp
parentbb446e576e120512d5752a5d6dc1ddc636f563ba (diff)
downloadarmnn-fe5a24beeef6e9a41366e694f41093565e748048.tar.gz
IVGCVSW-4666 Call EnableProfiling when state switches to active
* Move the call to EnableProfiling() into ConnectionAcknowledgedHandler * Fix an issue with MockGatord forcing some command handlers to be quiet * Add some small unrelated improvements and typo fixes to the periodic counter command handlers Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9e6066b78d1f782cfaf27c11571c0ec5cb5d126f
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockService.hpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockService.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/profiling/gatordmock/GatordMockService.hpp b/tests/profiling/gatordmock/GatordMockService.hpp
index 2ff93c9de6..9b72f72feb 100644
--- a/tests/profiling/gatordmock/GatordMockService.hpp
+++ b/tests/profiling/gatordmock/GatordMockService.hpp
@@ -57,16 +57,16 @@ public:
, m_HandlerRegistry()
, m_TimelineDecoder()
, m_StreamMetadataCommandHandler(
- 0, 0, m_PacketVersionResolver.ResolvePacketVersion(0, 0).GetEncodedValue(), true)
+ 0, 0, m_PacketVersionResolver.ResolvePacketVersion(0, 0).GetEncodedValue(), !echoPackets)
, m_CounterCaptureCommandHandler(
- 0, 4, m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(), true)
+ 0, 4, m_PacketVersionResolver.ResolvePacketVersion(0, 4).GetEncodedValue(), !echoPackets)
, m_DirectoryCaptureCommandHandler(
- 0, 2, m_PacketVersionResolver.ResolvePacketVersion(0, 2).GetEncodedValue(), true)
+ 0, 2, m_PacketVersionResolver.ResolvePacketVersion(0, 2).GetEncodedValue(), !echoPackets)
, m_TimelineCaptureCommandHandler(
1, 1, m_PacketVersionResolver.ResolvePacketVersion(1, 1).GetEncodedValue(), m_TimelineDecoder)
, m_TimelineDirectoryCaptureCommandHandler(
1, 0, m_PacketVersionResolver.ResolvePacketVersion(1, 0).GetEncodedValue(),
- m_TimelineCaptureCommandHandler, true)
+ m_TimelineCaptureCommandHandler, !echoPackets)
{
m_TimelineDecoder.SetDefaultCallbacks();