Jim Flynn | 4e755a5 | 2020-03-29 17:48:26 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2020 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #include "PrintPacketHeaderHandler.hpp" |
| 7 | |
| 8 | #include <iostream> |
| 9 | |
| 10 | namespace armnn |
| 11 | { |
| 12 | |
| 13 | namespace profiling |
| 14 | { |
| 15 | |
| 16 | std::vector<uint32_t> PrintPacketHeaderHandler::GetHeadersAccepted() |
| 17 | { |
| 18 | return std::vector<uint32_t>(); |
| 19 | } |
| 20 | |
| 21 | void PrintPacketHeaderHandler::HandlePacket(const Packet& packet) |
| 22 | { |
| 23 | std::stringstream ss; |
| 24 | ss << "Handler Received Outgoing Packet [" << packet.GetPacketFamily() << ":" << packet.GetPacketId() << "]"; |
| 25 | ss << " Length [" << packet.GetLength() << "]" << std::endl; |
| 26 | std::cout << ss.str() << std::endl; |
| 27 | }; |
| 28 | |
| 29 | } // namespace profiling |
| 30 | |
| 31 | } // namespace armnn |