| 72 | } |
| 73 | |
| 74 | void Holder::SetCaptureData(uint32_t capturePeriod, |
| 75 | const std::vector<uint16_t>& counterIds, |
| 76 | const std::set<std::string>& activeBackends) |
| 77 | { |
| 78 | #if !defined(ARMNN_DISABLE_THREADS) |
| 79 | std::lock_guard<std::mutex> lockGuard(m_CaptureThreadMutex); |
| 80 | #endif |
| 81 | m_CaptureData.SetCapturePeriod(capturePeriod); |
| 82 | m_CaptureData.SetCounterIds(counterIds); |
| 83 | m_CaptureData.SetActiveBackends(activeBackends); |
| 84 | |
| 85 | } |
| 86 | |
| 87 | } // namespace pipe |
| 88 |