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 --- ...unter_capture_command_handler_8hpp_source.xhtml | 121 +++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 21.02/_periodic_counter_capture_command_handler_8hpp_source.xhtml (limited to '21.02/_periodic_counter_capture_command_handler_8hpp_source.xhtml') diff --git a/21.02/_periodic_counter_capture_command_handler_8hpp_source.xhtml b/21.02/_periodic_counter_capture_command_handler_8hpp_source.xhtml new file mode 100644 index 0000000000..5d0dd66091 --- /dev/null +++ b/21.02/_periodic_counter_capture_command_handler_8hpp_source.xhtml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + +ArmNN: tests/profiling/gatordmock/PeriodicCounterCaptureCommandHandler.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
PeriodicCounterCaptureCommandHandler.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <common/include/CommandHandlerFunctor.hpp>
9 #include <common/include/Packet.hpp>
10 
11 #include <vector>
12 
13 namespace armnn
14 {
15 
16 namespace gatordmock
17 {
18 
20 {
21  uint64_t m_Timestamp;
22  std::vector<uint16_t> m_Uids;
23  std::vector<uint32_t> m_Values;
24 };
25 
26 class PeriodicCounterCaptureCommandHandler : public arm::pipe::CommandHandlerFunctor
27 {
28 
29 public:
30  /**
31  * @param familyId The family of the packets this handler will service
32  * @param packetId The id of packets this handler will process.
33  * @param version The version of that id.
34  * @param quietOperation Optional parameter to turn off printouts. This is useful for unittests.
35  */
37  uint32_t packetId,
38  uint32_t version,
39  bool quietOperation = false)
40  : CommandHandlerFunctor(familyId, packetId, version)
41  , m_QuietOperation(quietOperation)
42  {}
43 
44  void operator()(const arm::pipe::Packet& packet) override;
45 
47 
48  uint64_t m_CurrentPeriodValue = 0;
49 
50 private:
51  void ParseData(const arm::pipe::Packet& packet);
52 
53  uint64_t m_FirstTimestamp = 0, m_SecondTimestamp = 0;
54 
55  bool m_HeaderPrinted = false;
56  bool m_QuietOperation;
57 };
58 
59 } // namespace gatordmock
60 
61 } // namespace armnn
+
Copyright (c) 2021 ARM Limited and Contributors.
+
PeriodicCounterCaptureCommandHandler(uint32_t familyId, uint32_t packetId, uint32_t version, bool quietOperation=false)
+ + + + + +
+
+ + + + -- cgit v1.2.1