blob: 738a4762f9e2e29afb51791504a091c825f880d9 [file] [log] [blame]
Matteo Martincigh994b5342019-10-11 17:19:56 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "Packet.hpp"
9#include "CommandHandlerFunctor.hpp"
10#include "ProfilingStateMachine.hpp"
11
12namespace armnn
13{
14
15namespace profiling
16{
17
18class PerJobCounterSelectionCommandHandler : public CommandHandlerFunctor
19{
20
21public:
Jim Flynn397043f2019-10-17 17:37:10 +010022 PerJobCounterSelectionCommandHandler(uint32_t familyId,
23 uint32_t packetId,
24 uint32_t version,
25 const ProfilingStateMachine& profilingStateMachine)
26 : CommandHandlerFunctor(familyId, packetId, version)
Matteo Martincigh994b5342019-10-11 17:19:56 +010027 , m_StateMachine(profilingStateMachine)
28 {}
29
30 void operator()(const Packet& packet) override;
31
32private:
33 const ProfilingStateMachine& m_StateMachine;
34};
35
36} // namespace profiling
37
38} // namespace armnn
39