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

Method AddCounterValue

profiling/client/src/ProfilingService.cpp:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315uint32_t ProfilingService::AddCounterValue(uint16_t counterUid, uint32_t value)
316{
317 CheckCounterUid(counterUid);
318 std::atomic<uint32_t>* counterValuePtr = m_CounterIndex.at(counterUid);
319 ARM_PIPE_ASSERT(counterValuePtr);
320 return counterValuePtr->fetch_add(value, std::memory_order::memory_order_relaxed);
321}
322
323uint32_t ProfilingService::SubtractCounterValue(uint16_t counterUid, uint32_t value)
324{

Callers 1

ProfilingTests.cppFile · 0.80

Calls 1

fetch_addMethod · 0.80

Tested by

no test coverage detected