| 263 | } |
| 264 | |
| 265 | uint32_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 | |
| 275 | const ICounterMappings& ProfilingService::GetCounterMappings() const |
| 276 | { |