blob: 0fdcf10de4f4ec7fffd6991d349bc5b84b31d2ab (
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
|
//
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "RequestCounterDirectoryCommandHandler.hpp"
#include <boost/assert.hpp>
namespace armnn
{
namespace profiling
{
void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet)
{
BOOST_ASSERT(packet.GetLength() == 0);
// Write packet to Counter Stream Buffer
m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory);
}
} // namespace profiling
} // namespace armnn
|