ArmNN
 21.02
PerJobCounterSelectionCommandHandler.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 
9 
10 #include <common/include/CommandHandlerFunctor.hpp>
11 #include <common/include/Packet.hpp>
12 
13 namespace armnn
14 {
15 
16 namespace profiling
17 {
18 
19 class PerJobCounterSelectionCommandHandler : public arm::pipe::CommandHandlerFunctor
20 {
21 
22 public:
24  uint32_t packetId,
25  uint32_t version,
26  const ProfilingStateMachine& profilingStateMachine)
27  : CommandHandlerFunctor(familyId, packetId, version)
28  , m_StateMachine(profilingStateMachine)
29  {}
30 
31  void operator()(const arm::pipe::Packet& packet) override;
32 
33 private:
34  const ProfilingStateMachine& m_StateMachine;
35 };
36 
37 } // namespace profiling
38 
39 } // namespace armnn
40 
Copyright (c) 2021 ARM Limited and Contributors.
PerJobCounterSelectionCommandHandler(uint32_t familyId, uint32_t packetId, uint32_t version, const ProfilingStateMachine &profilingStateMachine)