diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2020-02-25 12:44:44 +0000 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2020-02-28 16:01:46 +0000 |
commit | 4c998993bda1475595be5505690ff4e08dc2389e (patch) | |
tree | 643dc71e82c8affd842481d4aa389db7de2c5c42 /src/profiling/DirectoryCaptureCommandHandler.cpp | |
parent | 3b3c381963a1bfe12e083928a3abb5a9852b199b (diff) | |
download | armnn-4c998993bda1475595be5505690ff4e08dc2389e.tar.gz |
IVGCVSW-4454 Remove the CounterSet and Device fields from Category
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I721f59cd1f6d068e02dabd62c42871a43be9d934
Diffstat (limited to 'src/profiling/DirectoryCaptureCommandHandler.cpp')
-rw-r--r-- | src/profiling/DirectoryCaptureCommandHandler.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/profiling/DirectoryCaptureCommandHandler.cpp b/src/profiling/DirectoryCaptureCommandHandler.cpp index f221513572..65cac848ae 100644 --- a/src/profiling/DirectoryCaptureCommandHandler.cpp +++ b/src/profiling/DirectoryCaptureCommandHandler.cpp @@ -153,18 +153,6 @@ void DirectoryCaptureCommandHandler::ReadCategoryRecords(const unsigned char* co { uint32_t categoryRecordOffset = offset + categoryOffsets[categoryIndex]; - // Category record word 0: - // 0:15 The deviceUid of a counter_set the category is associated with. - // Set to zero if the category is NOT associated with a counter set. - uint16_t counterSetUid = profiling::ReadUint16(data, categoryRecordOffset); - categoryRecordOffset += uint16_t_size; - - // 16:31 The deviceUid of a device element which identifies some hardware device that the category belongs to. - // Set to zero if the category is NOT associated with a device - uint16_t deviceUid = profiling::ReadUint16(data, categoryRecordOffset); - - categoryRecordOffset += uint16_t_size; - // Category record word 1: // 0:15 Reserved, value 0x0000. categoryRecordOffset += uint16_t_size; @@ -197,7 +185,7 @@ void DirectoryCaptureCommandHandler::ReadCategoryRecords(const unsigned char* co categoryRecordOffset += uint32_t_size; const Category* category = m_CounterDirectory.RegisterCategory( - GetStringNameFromBuffer(data, categoryRecordOffset + nameOffset), deviceUid, counterSetUid); + GetStringNameFromBuffer(data, categoryRecordOffset + nameOffset)); for (auto& counter : eventRecords) { const Counter* registeredCounter = m_CounterDirectory.RegisterCounter(armnn::profiling::BACKEND_ID, |