ArmNN
 20.05
PerJobCounterSelectionCommandHandler.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <Packet.hpp>
11 
12 namespace armnn
13 {
14 
15 namespace profiling
16 {
17 
19 {
20 
21 public:
23  uint32_t packetId,
24  uint32_t version,
25  const ProfilingStateMachine& profilingStateMachine)
26  : CommandHandlerFunctor(familyId, packetId, version)
27  , m_StateMachine(profilingStateMachine)
28  {}
29 
30  void operator()(const Packet& packet) override;
31 
32 private:
33  const ProfilingStateMachine& m_StateMachine;
34 };
35 
36 } // namespace profiling
37 
38 } // namespace armnn
39 
Copyright (c) 2020 ARM Limited.
PerJobCounterSelectionCommandHandler(uint32_t familyId, uint32_t packetId, uint32_t version, const ProfilingStateMachine &profilingStateMachine)