aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockService.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2019-10-15 14:22:13 +0100
committerJim Flynn Arm <jim.flynn@arm.com>2019-10-21 16:52:03 +0000
commit15db745d59a796fd05e3bb5a8b735f25710bdf22 (patch)
tree01e5e320bd92cb152464adb82c02e3b37342b571 /tests/profiling/gatordmock/GatordMockService.cpp
parent422f2fb6c7ef13e48124991af6f27e78934b8ece (diff)
downloadarmnn-15db745d59a796fd05e3bb5a8b735f25710bdf22.tar.gz
IVGCVSW-3989 Create the Counter Directory Decoder
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: If388e60434eae39d82b639d2275680679963624c
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockService.cpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockService.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/profiling/gatordmock/GatordMockService.cpp b/tests/profiling/gatordmock/GatordMockService.cpp
index 194b097af1..bf326a64c3 100644
--- a/tests/profiling/gatordmock/GatordMockService.cpp
+++ b/tests/profiling/gatordmock/GatordMockService.cpp
@@ -136,6 +136,16 @@ void GatordMockService::SendConnectionAck()
SendPacket(0, 1, nullptr, 0);
}
+void GatordMockService::SendRequestCounterDir()
+{
+ if (m_EchoPackets)
+ {
+ std::cout << "Sending connection acknowledgement." << std::endl;
+ }
+ // The connection ack packet is an empty data packet with packetId == 1.
+ SendPacket(0, 3, nullptr, 0);
+}
+
bool GatordMockService::LaunchReceivingThread()
{
if (m_EchoPackets)