ArmNN
 20.02
PeriodicCounterSelectionResponseHandler.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 #include <Packet.hpp>
8 
9 #include <vector>
10 
11 namespace armnn
12 {
13 
14 namespace gatordmock
15 {
16 
17 #pragma once
18 
20 {
21 
22 public:
23  /**
24  *
25  * @param packetId The id of packets this handler will process.
26  * @param version The version of that id.
27  * @param quietOperation Optional parameter to turn off printouts. This is useful for unittests.
28  */
30  uint32_t packetId,
31  uint32_t version,
32  bool quietOperation = true)
33  : CommandHandlerFunctor(familyId, packetId, version)
34  , m_QuietOperation(quietOperation)
35  {}
36 
37  void operator()(const armnn::profiling::Packet& packet) override;
38 
39 private:
40  bool m_QuietOperation;
41 };
42 
43 } // namespace gatordmock
44 
45 } // namespace armnn
Copyright (c) 2020 ARM Limited.
PeriodicCounterSelectionResponseHandler(uint32_t familyId, uint32_t packetId, uint32_t version, bool quietOperation=true)