From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/classarmnn_1_1profiling_1_1_holder.xhtml | 226 +++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 20.02/classarmnn_1_1profiling_1_1_holder.xhtml (limited to '20.02/classarmnn_1_1profiling_1_1_holder.xhtml') diff --git a/20.02/classarmnn_1_1profiling_1_1_holder.xhtml b/20.02/classarmnn_1_1profiling_1_1_holder.xhtml new file mode 100644 index 0000000000..11554e86ee --- /dev/null +++ b/20.02/classarmnn_1_1profiling_1_1_holder.xhtml @@ -0,0 +1,226 @@ + + + + + + + + + + + + + +ArmNN: Holder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Holder Class Reference
+
+
+ +

#include <Holder.hpp>

+ + + + + + + + +

+Public Member Functions

 Holder ()
 
CaptureData GetCaptureData () const
 
void SetCaptureData (uint32_t capturePeriod, const std::vector< uint16_t > &counterIds, const std::set< armnn::BackendId > &activeBackends)
 
+

Detailed Description

+
+

Definition at line 51 of file Holder.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Holder()

+ +
+
+ + + + + +
+ + + + + + + +
Holder ()
+
+inline
+
+ +

Definition at line 54 of file Holder.hpp.

+
55  : m_CaptureData() {}
+
+
+

Member Function Documentation

+ +

◆ GetCaptureData()

+ +
+
+ + + + + + + +
CaptureData GetCaptureData () const
+
+ +

Definition at line 54 of file Holder.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE(), CaptureDataReadThreadImpl(), ProfilingService::GetCaptureData(), PeriodicCounterSelectionCommandHandler::operator()(), and PeriodicCounterCapture::Stop().

+
55 {
56  std::lock_guard<std::mutex> lockGuard(m_CaptureThreadMutex);
57 
58  return m_CaptureData;
59 }
+
+
+ +

◆ SetCaptureData()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void SetCaptureData (uint32_t capturePeriod,
const std::vector< uint16_t > & counterIds,
const std::set< armnn::BackendId > & activeBackends 
)
+
+ +

Definition at line 74 of file Holder.cpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE(), CaptureDataWriteThreadImpl(), PeriodicCounterSelectionCommandHandler::operator()(), and ProfilingService::SetCaptureData().

+
77 {
78  std::lock_guard<std::mutex> lockGuard(m_CaptureThreadMutex);
79 
80  m_CaptureData.SetCapturePeriod(capturePeriod);
81  m_CaptureData.SetCounterIds(counterIds);
82  m_CaptureData.SetActiveBackends(activeBackends);
83 
84 }
void SetActiveBackends(const std::set< armnn::BackendId > &activeBackends)
Definition: Holder.cpp:24
+
void SetCapturePeriod(uint32_t capturePeriod)
Definition: Holder.cpp:29
+
void SetCounterIds(const std::vector< uint16_t > &counterIds)
Definition: Holder.cpp:34
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1