aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2020-02-25 12:44:44 +0000
committerSadik Armagan <sadik.armagan@arm.com>2020-02-28 16:01:46 +0000
commit4c998993bda1475595be5505690ff4e08dc2389e (patch)
tree643dc71e82c8affd842481d4aa389db7de2c5c42 /tests
parent3b3c381963a1bfe12e083928a3abb5a9852b199b (diff)
downloadarmnn-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 'tests')
-rw-r--r--tests/profiling/gatordmock/CounterDirectory.hpp10
-rw-r--r--tests/profiling/gatordmock/tests/GatordMockTests.cpp2
2 files changed, 0 insertions, 12 deletions
diff --git a/tests/profiling/gatordmock/CounterDirectory.hpp b/tests/profiling/gatordmock/CounterDirectory.hpp
index 7b45e661e0..528c037cbf 100644
--- a/tests/profiling/gatordmock/CounterDirectory.hpp
+++ b/tests/profiling/gatordmock/CounterDirectory.hpp
@@ -106,8 +106,6 @@ struct EventRecord
struct CategoryRecord
{
- uint16_t m_DeviceUid;
- uint16_t m_CounterSet;
uint16_t m_EventCount;
std::string m_CategoryName;
std::vector<EventRecord> m_EventRecords;
@@ -119,19 +117,11 @@ struct CategoryRecord
header.append(gatordmock::CentreAlignFormatting("Name", 20));
header.append(" | ");
- header.append(gatordmock::CentreAlignFormatting("Device", 12));
- header.append(" | ");
- header.append(gatordmock::CentreAlignFormatting("Counter set UID:", 16));
- header.append(" | ");
header.append(gatordmock::CentreAlignFormatting("Event Count", 14));
header.append("\n");
body.append(gatordmock::CentreAlignFormatting(m_CategoryName, 20));
body.append(" | ");
- body.append(gatordmock::CentreAlignFormatting(std::to_string(m_DeviceUid), 12));
- body.append(" | ");
- body.append(gatordmock::CentreAlignFormatting(std::to_string(m_CounterSet), 16));
- body.append(" | ");
body.append(gatordmock::CentreAlignFormatting(std::to_string(m_EventCount), 14));
std::cout << "\n" << "\n";
diff --git a/tests/profiling/gatordmock/tests/GatordMockTests.cpp b/tests/profiling/gatordmock/tests/GatordMockTests.cpp
index 02adffb2cc..fecfce42d0 100644
--- a/tests/profiling/gatordmock/tests/GatordMockTests.cpp
+++ b/tests/profiling/gatordmock/tests/GatordMockTests.cpp
@@ -243,8 +243,6 @@ BOOST_AUTO_TEST_CASE(GatorDMockEndToEnd)
if (receivedCategory->m_Name.compare(category->m_Name) == 0)
{
// We've found the matching category.
- BOOST_CHECK(category->m_DeviceUid == receivedCategory->m_DeviceUid);
- BOOST_CHECK(category->m_CounterSetUid == receivedCategory->m_CounterSetUid);
// Now look at the interiors of the counters. Start by sorting them.
std::sort(category->m_Counters.begin(), category->m_Counters.end());
std::sort(receivedCategory->m_Counters.begin(), receivedCategory->m_Counters.end());