blob: 6b82280e81b1445e485a0c3f6dac96ad7df81643 [file] [log] [blame]
Colm Donelanb682d842019-10-16 12:24:20 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
Francis Murtagh78f24e12019-12-06 14:50:54 +00006#include <CommandHandlerFunctor.hpp>
7#include <Packet.hpp>
Colm Donelanb682d842019-10-16 12:24:20 +01008
9#include <vector>
10
11namespace armnn
12{
13
14namespace gatordmock
15{
16
17#pragma once
18
19class PeriodicCounterSelectionResponseHandler : public profiling::CommandHandlerFunctor
20{
21
22public:
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 */
Jim Flynn397043f2019-10-17 17:37:10 +010029 PeriodicCounterSelectionResponseHandler(uint32_t familyId,
30 uint32_t packetId,
31 uint32_t version,
32 bool quietOperation = true)
33 : CommandHandlerFunctor(familyId, packetId, version)
Colm Donelanb682d842019-10-16 12:24:20 +010034 , m_QuietOperation(quietOperation)
35 {}
36
37 void operator()(const armnn::profiling::Packet& packet) override;
38
39private:
40 bool m_QuietOperation;
41};
42
43} // namespace gatordmock
44
45} // namespace armnn