MCPcopy Create free account
hub / github.com/ARM-software/armnn / IsCounterIdInCaptureData

Method IsCounterIdInCaptureData

profiling/client/src/Holder.cpp:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61bool CaptureData::IsCounterIdInCaptureData(uint16_t counterId)
62{
63 for (auto m_CounterId : m_CounterIds) {
64 if (m_CounterId == counterId)
65 {
66 return true;
67 }
68 }
69
70 // Return false by default unless counterId is found
71 return false;
72}
73
74void Holder::SetCaptureData(uint32_t capturePeriod,
75 const std::vector<uint16_t>& counterIds,

Callers 1

GetCounterStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected