blob: 0fdcf10de4f4ec7fffd6991d349bc5b84b31d2ab [file] [log] [blame]
Narumol Prangnawarat48033692019-09-20 12:04:55 +01001//
2// Copyright © 2019 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#include "RequestCounterDirectoryCommandHandler.hpp"
7
Matteo Martincighd0613b52019-10-09 16:47:04 +01008#include <boost/assert.hpp>
9
Narumol Prangnawarat48033692019-09-20 12:04:55 +010010namespace armnn
11{
12
13namespace profiling
14{
15
16void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet)
17{
18 BOOST_ASSERT(packet.GetLength() == 0);
19
20 // Write packet to Counter Stream Buffer
21 m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory);
22}
23
24} // namespace profiling
25
Matteo Martincighd0613b52019-10-09 16:47:04 +010026} // namespace armnn