diff options
author | Jim Flynn <jim.flynn@arm.com> | 2019-10-17 17:37:10 +0100 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2019-10-18 09:58:17 +0100 |
commit | 397043fa3d900430e9e0f6d328b76898f9613388 (patch) | |
tree | dc2cfbcff1a098881d05a97c3d96f4e902575953 /tests/profiling/gatordmock/tests/GatordMockTests.cpp | |
parent | 9ea7700bde128f2601d5b7d8849e96c0a08e15c6 (diff) | |
download | armnn-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/tests/GatordMockTests.cpp')
-rw-r--r-- | tests/profiling/gatordmock/tests/GatordMockTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/profiling/gatordmock/tests/GatordMockTests.cpp b/tests/profiling/gatordmock/tests/GatordMockTests.cpp index 3f58f39124..eb4b1783a4 100644 --- a/tests/profiling/gatordmock/tests/GatordMockTests.cpp +++ b/tests/profiling/gatordmock/tests/GatordMockTests.cpp @@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE(CounterCaptureHandlingTest) profiling::Packet packet2(headerWord1, dataLength, uniqueData2); uint32_t version = 1; - gatordmock::PeriodicCounterCaptureCommandHandler commandHandler(headerWord1, version, true); + gatordmock::PeriodicCounterCaptureCommandHandler commandHandler(0, 4, version, false); // Simulate two separate packets coming in to calculate period commandHandler(packet1); @@ -123,14 +123,14 @@ BOOST_AUTO_TEST_CASE(GatorDMockEndToEnd) // performance data. // Initialise functors and register into the CommandHandlerRegistry - uint32_t counterCaptureHeader = ConstructHeader(1, 0); uint32_t version = 1; // Create the Command Handler Registry profiling::CommandHandlerRegistry registry; // Update with derived functors - gatordmock::PeriodicCounterCaptureCommandHandler counterCaptureCommandHandler(counterCaptureHeader, version, true); + gatordmock::PeriodicCounterCaptureCommandHandler counterCaptureCommandHandler(0, 4, version, false); + // Register different derived functors registry.RegisterFunctor(&counterCaptureCommandHandler); |