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

Method SetCaptureData

profiling/client/src/Holder.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void 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

Callers 3

operator()Method · 0.45
ProfilingTests.cppFile · 0.45

Calls 3

SetCapturePeriodMethod · 0.80
SetCounterIdsMethod · 0.80
SetActiveBackendsMethod · 0.80

Tested by 1