blob: a03300af4843494ba0592a57e9807a4f8462d9a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include "CommandHandlerFunctor.hpp"
#include "ISendCounterPacket.hpp"
#include "Packet.hpp"
namespace armnn
{
namespace profiling
{
class RequestCounterDirectoryCommandHandler : public CommandHandlerFunctor
{
public:
RequestCounterDirectoryCommandHandler(uint32_t packetId, uint32_t version,
ICounterDirectory& counterDirectory,
ISendCounterPacket& sendCounterPacket)
: CommandHandlerFunctor(packetId, version),
m_CounterDirectory(counterDirectory),
m_SendCounterPacket(sendCounterPacket)
{}
void operator()(const Packet& packet) override;
private:
ICounterDirectory& m_CounterDirectory;
ISendCounterPacket& m_SendCounterPacket;
};
} // namespace profiling
} // namespace armnn
|