From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- ...riodic_counter_selection_response_handler.xhtml | 236 +++++++++++++++++++++ 1 file changed, 236 insertions(+) create mode 100644 21.02/classarmnn_1_1gatordmock_1_1_periodic_counter_selection_response_handler.xhtml (limited to '21.02/classarmnn_1_1gatordmock_1_1_periodic_counter_selection_response_handler.xhtml') diff --git a/21.02/classarmnn_1_1gatordmock_1_1_periodic_counter_selection_response_handler.xhtml b/21.02/classarmnn_1_1gatordmock_1_1_periodic_counter_selection_response_handler.xhtml new file mode 100644 index 0000000000..4211092afb --- /dev/null +++ b/21.02/classarmnn_1_1gatordmock_1_1_periodic_counter_selection_response_handler.xhtml @@ -0,0 +1,236 @@ + + + + + + + + + + + + + +ArmNN: PeriodicCounterSelectionResponseHandler Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PeriodicCounterSelectionResponseHandler Class Reference
+
+
+ +

#include <PeriodicCounterSelectionResponseHandler.hpp>

+
+Inheritance diagram for PeriodicCounterSelectionResponseHandler:
+
+
+ + + +
+ + + + + + +

+Public Member Functions

 PeriodicCounterSelectionResponseHandler (uint32_t familyId, uint32_t packetId, uint32_t version, bool quietOperation=true)
 
void operator() (const arm::pipe::Packet &packet) override
 
+

Detailed Description

+
+

Definition at line 18 of file PeriodicCounterSelectionResponseHandler.hpp.

+

Constructor & Destructor Documentation

+ +

◆ PeriodicCounterSelectionResponseHandler()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PeriodicCounterSelectionResponseHandler (uint32_t familyId,
uint32_t packetId,
uint32_t version,
bool quietOperation = true 
)
+
+inline
+
+
Parameters
+ + + + +
packetIdThe id of packets this handler will process.
versionThe version of that id.
quietOperationOptional parameter to turn off printouts. This is useful for unittests.
+
+
+ +

Definition at line 28 of file PeriodicCounterSelectionResponseHandler.hpp.

+ +

References PeriodicCounterSelectionResponseHandler::operator()().

+
32  : CommandHandlerFunctor(familyId, packetId, version)
33  , m_QuietOperation(quietOperation)
34  {}
+
+
+

Member Function Documentation

+ +

◆ operator()()

+ +
+
+ + + + + +
+ + + + + + + + +
void operator() (const arm::pipe::Packet & packet)
+
+override
+
+ +

Definition at line 18 of file PeriodicCounterSelectionResponseHandler.cpp.

+ +

References armnn::profiling::ReadUint32().

+ +

Referenced by PeriodicCounterSelectionResponseHandler::PeriodicCounterSelectionResponseHandler().

+
19 {
20  if (!m_QuietOperation) // Are we supposed to print to stdout?
21  {
22  uint32_t period = arm::pipe::ReadUint32(reinterpret_cast<const unsigned char*>(packet.GetData()), 0);
23  uint32_t numCounters = 0;
24  // First check if there are any counters mentioned.
25  if(packet.GetLength() > 4)
26  {
27  // Length will be 4 bytes for the period and then a list of 16 bit UIDS.
28  numCounters = ((packet.GetLength() - 4) / 2);
29  }
30  std::cout << "PeriodicCounterSelectionResponse: Collection interval = " << std::dec << period << "uSec"
31  << " Num counters activated = " << numCounters << std::endl;
32  }
33 }
uint32_t ReadUint32(const IPacketBufferPtr &packetBuffer, unsigned int offset)
+
+
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.2.1