Home
last modified time | relevance | path

Searched refs:m_Counters (Results 1 – 10 of 10) sorted by relevance

/external/armnn/profiling/common/src/
DCounterDirectory.cpp252 const std::vector<uint16_t>& parentCategoryCounters = parentCategory->m_Counters; in RegisterCounter()
316 parentCategory->m_Counters.push_back(counterUid); in RegisterCounter()
319 m_Counters.insert(std::make_pair(counterUid, counter)); in RegisterCounter()
372 if (it == m_Counters.end()) in GetCounter()
424 return it != m_Counters.end(); in IsCounterRegistered()
431 return it != m_Counters.end(); in IsCounterRegistered()
440 m_Counters.clear(); in Clear()
487 return m_Counters.find(counterUid); in FindCounter()
492 return std::find_if(m_Counters.begin(), m_Counters.end(), [&counterName](const auto& pair) in FindCounter()
DCommonProfilingUtils.cpp221 categoryBody.append(CentreAlignFormatting(std::to_string(category->m_Counters.size()), 14)); in PrintCategoryDetails()
263 for (auto& it: category->m_Counters) { in PrintCategoryDetails()
/external/armnn/profiling/common/include/
DCounterDirectory.hpp56 …ounterCount() const override { return arm::pipe::numeric_cast<uint16_t>(m_Counters.size()); } in GetCounterCount()
62 const Counters& GetCounters() const override { return m_Counters; } in GetCounters()
87 Counters m_Counters; member in arm::pipe::CounterDirectory
DICounterDirectory.hpp57 std::vector<uint16_t> m_Counters; // The UIDs of the counters associated with this category member in arm::pipe::Category
/external/armnn/tests/profiling/gatordmock/tests/
DGatordMockTests.cpp356 std::sort(category->m_Counters.begin(), category->m_Counters.end());
357 std::sort(receivedCategory->m_Counters.begin(), receivedCategory->m_Counters.end());
369 CHECK(std::equal(category->m_Counters.begin(), category->m_Counters.end(),
370 receivedCategory->m_Counters.begin(), comparator));
/external/armnn/src/profiling/test/
DProfilingTests.cpp880 CHECK(category->m_Counters.empty());
917 CHECK(categoryWoDevice->m_Counters.empty());
1065 CHECK(category->m_Counters.empty());
1173 CHECK(category->m_Counters.empty());
1371 CHECK(category->m_Counters.empty());
1395 CHECK(category->m_Counters.size() == 1);
1396 CHECK(category->m_Counters.back() == counter->m_Uid);
1437 CHECK(category->m_Counters.size() == 2);
1438 CHECK(category->m_Counters.back() == counterWUnits->m_Uid);
1465 CHECK(category->m_Counters.size() == 3);
[all …]
DProfilingMocks.hpp567 parentCategory->m_Counters.push_back(counterUid); in RegisterCounter()
570 m_Counters.insert(std::make_pair(counterUid, counter)); in RegisterCounter()
580 …ounterCount() const override { return arm::pipe::numeric_cast<uint16_t>(m_Counters.size()); } in GetCounterCount()
586 const Counters& GetCounters() const override { return m_Counters; } in GetCounters()
628 Counters m_Counters; member in arm::pipe::MockCounterDirectory
DRequestCountersPacketHandler.cpp42 for (auto const& copyUid : category->m_Counters) in HandlePacket()
DSendCounterPacketTests.cpp927 category->m_Counters = { 11u, 23u, 5670u };
1158 category->m_Counters = { 11u, 23u, 5670u };
1674 …CHECK(category->m_Counters.size() == categoryRecord.event_count + static_cast<size_t>(numberOfCore…
1675 …CHECK(category->m_Counters.size() == categoryRecord.event_count + static_cast<size_t>(numberOfCore…
/external/armnn/profiling/client/src/
DSendCounterPacket.cpp184 for (size_t counterIndex = 0; counterIndex < category->m_Counters.size(); ++counterIndex) in CreateCategoryRecord()
186 uint16_t counterUid = category->m_Counters.at(counterIndex); in CreateCategoryRecord()