| 15 | { |
| 16 | |
| 17 | void CounterIdMap::RegisterMapping(uint16_t globalCounterId, |
| 18 | uint16_t backendCounterId, |
| 19 | const std::string& backendId) |
| 20 | { |
| 21 | std::pair<uint16_t, std::string> backendIdPair(backendCounterId, backendId); |
| 22 | m_GlobalCounterIdMap[globalCounterId] = backendIdPair; |
| 23 | m_BackendCounterIdMap[backendIdPair] = globalCounterId; |
| 24 | } |
| 25 | |
| 26 | void CounterIdMap::Reset() |
| 27 | { |