aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTests.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-05-01 13:25:55 +0100
committerfinn.williams <finn.williams@arm.com>2020-05-01 13:30:58 +0000
commitd44815fc0c8426364f3199bdf38da3fe2c5157dc (patch)
treed2a77f546269890b3ce4af60abfed6c662fae26e /src/profiling/test/ProfilingTests.cpp
parentb56cede253b705367e1ad35735568eb9a30a8470 (diff)
downloadarmnn-d44815fc0c8426364f3199bdf38da3fe2c5157dc.tar.gz
Update the CounterDirectory Packet offsets to be relative to the start of the table containing that offset
* IVGCVSW-4763 Update the event pointer table offsets * IVGCVSW-4764 Update the event record block offsets * IVGCVSW-4765 Update the device name offset * IVGCVSW-4766 Update the counter set name offset * IVGCVSW-4767 Update device pointer table offsets * IVGCVSW-4768 Update the counter set pointer table offsets * IVGCVSW-4769 Update the category pointer table offsets Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I6e815ae5b16478fc5ec760caf704451fe5f84a29
Diffstat (limited to 'src/profiling/test/ProfilingTests.cpp')
-rw-r--r--src/profiling/test/ProfilingTests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp
index bd6ae08e30..dd7d5b8476 100644
--- a/src/profiling/test/ProfilingTests.cpp
+++ b/src/profiling/test/ProfilingTests.cpp
@@ -2439,13 +2439,13 @@ BOOST_AUTO_TEST_CASE(RequestCounterDirectoryCommandHandlerTest2)
BOOST_TEST(bodyHeader1Word5 == 8 + bodyHeaderSizeBytes); // categories_pointer_table_offset
const uint32_t deviceRecordOffset = ReadUint32(readBuffer1, 32);
- BOOST_TEST(deviceRecordOffset == 0);
+ BOOST_TEST(deviceRecordOffset == 12);
const uint32_t counterSetRecordOffset = ReadUint32(readBuffer1, 36);
- BOOST_TEST(counterSetRecordOffset == 20);
+ BOOST_TEST(counterSetRecordOffset == 28);
const uint32_t categoryRecordOffset = ReadUint32(readBuffer1, 40);
- BOOST_TEST(categoryRecordOffset == 44);
+ BOOST_TEST(categoryRecordOffset == 48);
auto readBuffer2 = mockBuffer2.GetReadableBuffer();