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 | |
Matteo Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame^] | 8 | #include <boost/assert.hpp> |
| 9 | |
Narumol Prangnawarat | 4803369 | 2019-09-20 12:04:55 +0100 | [diff] [blame] | 10 | namespace armnn |
| 11 | { |
| 12 | |
| 13 | namespace profiling |
| 14 | { |
| 15 | |
| 16 | void 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 Martincigh | d0613b5 | 2019-10-09 16:47:04 +0100 | [diff] [blame^] | 26 | } // namespace armnn |