34 std::shared_ptr<armnn::profiling::IBackendProfilingContext>>&
35 backendProfilingContexts)
36 : m_CaptureDataHolder(data)
38 , m_KeepRunning(
false)
39 , m_ReadCounterValues(readCounterValue)
40 , m_SendCounterPacket(packet)
41 , m_CounterIdMap(counterIdMap)
42 , m_BackendProfilingContexts(backendProfilingContexts)
46 void Start()
override;
53 void DispatchPeriodicCounterCapturePacket(
54 const armnn::BackendId& backendId,
const std::vector<Timestamp>& timestampValues);
56 const Holder& m_CaptureDataHolder;
58 std::atomic<bool> m_KeepRunning;
59 std::thread m_PeriodCaptureThread;
64 std::shared_ptr<armnn::profiling::IBackendProfilingContext>>& m_BackendProfilingContexts;
Copyright (c) 2021 ARM Limited and Contributors.
PeriodicCounterCapture(const Holder &data, ISendCounterPacket &packet, IReadCounterValues &readCounterValue, const ICounterMappings &counterIdMap, const std::unordered_map< armnn::BackendId, std::shared_ptr< armnn::profiling::IBackendProfilingContext >> &backendProfilingContexts)
~PeriodicCounterCapture()