Narumol Prangnawarat | 4803369 | 2019-09-20 12:04:55 +0100 | [diff] [blame^] | 1 | // |
| 2 | // Copyright © 2019 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #include "RequestCounterDirectoryCommandHandler.hpp" |
| 7 | |
| 8 | namespace armnn |
| 9 | { |
| 10 | |
| 11 | namespace profiling |
| 12 | { |
| 13 | |
| 14 | void 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 |