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

Method GetDeltaCounterValue

profiling/client/src/ProfilingService.cpp:265–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265uint32_t ProfilingService::GetDeltaCounterValue(uint16_t counterUid)
266{
267 CheckCounterUid(counterUid);
268 std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);
269 ARM_PIPE_ASSERT(counterValuePtr);
270 const uint32_t counterValue = counterValuePtr->load(std::memory_order::memory_order_relaxed);
271 SubtractCounterValue(counterUid, counterValue);
272 return counterValue;
273}
274
275const ICounterMappings& ProfilingService::GetCounterMappings() const
276{

Callers 1

CaptureMethod · 0.45

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected