aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SendCounterPacket.cpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-05-15 11:21:54 +0100
committerJim Flynn <jim.flynn@arm.com>2020-05-15 11:50:21 +0000
commit6be1e9be49a9166392dbd77bf2effdd7c28d7ef1 (patch)
tree36d8fe87c3c73e1ed22be85f44ad9f91c7aa6399 /src/profiling/SendCounterPacket.cpp
parent45544477d2c36d1695e1dd96b33f4c0355d3ef25 (diff)
downloadarmnn-6be1e9be49a9166392dbd77bf2effdd7c28d7ef1.tar.gz
IVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytes
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I5dee006d5532cc85b86997a4cd0877afbf043122
Diffstat (limited to 'src/profiling/SendCounterPacket.cpp')
-rw-r--r--src/profiling/SendCounterPacket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/SendCounterPacket.cpp b/src/profiling/SendCounterPacket.cpp
index d916dd8b97..21f31161f3 100644
--- a/src/profiling/SendCounterPacket.cpp
+++ b/src/profiling/SendCounterPacket.cpp
@@ -299,7 +299,7 @@ bool SendCounterPacket::CreateDeviceRecord(const DevicePtr& device,
// Device record word 1:
// 0:31 [32] name_offset: offset from the beginning of the device record pool to the name field
- const uint32_t deviceRecordWord1 = 2u; // The offset is always two here, as the name field is always
+ const uint32_t deviceRecordWord1 = 8u; // The offset is always eight here, as the name field is always
// the first (and only) item in the pool and there are two device words
// Convert the device name into a SWTrace string
@@ -349,7 +349,7 @@ bool SendCounterPacket::CreateCounterSetRecord(const CounterSetPtr& counterSet,
// Counter set record word 1:
// 0:31 [32] name_offset: offset from the beginning of the counter set pool to the name field
- const uint32_t counterSetRecordWord1 = 2u; // The offset is always two here, as the name field is always
+ const uint32_t counterSetRecordWord1 = 8u; // The offset is always eight here, as the name field is always
// the first (and only) item in the pool after the two counter set words
// Convert the device name into a SWTrace namestring