blob: f186add35795748e03188ccf10e1609155d37b2f [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
8namespace armnn
9{
10
11namespace profiling
12{
13
14void RequestCounterDirectoryCommandHandler::operator()(const Packet& packet)
15{
16 BOOST_ASSERT(packet.GetLength() == 0);
17
18 // Write packet to Counter Stream Buffer
19 m_SendCounterPacket.SendCounterDirectoryPacket(m_CounterDirectory);
20}
21
22} // namespace profiling
23
24} // namespace armnn