aboutsummaryrefslogtreecommitdiff
path: root/tests/profiling/gatordmock/GatordMockService.cpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2019-10-17 17:37:10 +0100
committerJim Flynn <jim.flynn@arm.com>2019-10-18 09:58:17 +0100
commit397043fa3d900430e9e0f6d328b76898f9613388 (patch)
treedc2cfbcff1a098881d05a97c3d96f4e902575953 /tests/profiling/gatordmock/GatordMockService.cpp
parent9ea7700bde128f2601d5b7d8849e96c0a08e15c6 (diff)
downloadarmnn-397043fa3d900430e9e0f6d328b76898f9613388.tar.gz
IVGCVSW-4002 Add FamilyId to CommandHandlerKey
Change-Id: I0bb0bf77da2bcd7f4746078c4ccee9acc98638a7 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'tests/profiling/gatordmock/GatordMockService.cpp')
-rw-r--r--tests/profiling/gatordmock/GatordMockService.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/profiling/gatordmock/GatordMockService.cpp b/tests/profiling/gatordmock/GatordMockService.cpp
index 4b9d7524f3..2697b2f3e9 100644
--- a/tests/profiling/gatordmock/GatordMockService.cpp
+++ b/tests/profiling/gatordmock/GatordMockService.cpp
@@ -324,7 +324,8 @@ armnn::profiling::Packet GatordMockService::ReceivePacket()
// Pass packet into the handler registry
m_PacketsReceivedCount.operator++(std::memory_order::memory_order_release);
m_HandlerRegistry
- .GetFunctor(packetRx.GetPacketId(),
+ .GetFunctor(packetRx.GetPacketFamily(),
+ packetRx.GetPacketId(),
packetVersionResolver.ResolvePacketVersion(packetRx.GetPacketId()).GetEncodedValue())
->operator()(packetRx);