blob: 393153424d836b21ae23d7aaa3924102168a3415 [file] [log] [blame]
//
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "PrintPacketHeaderHandler.hpp"
#include <iostream>
#include <sstream>
namespace arm
{
namespace pipe
{
std::vector<uint32_t> PrintPacketHeaderHandler::GetHeadersAccepted()
{
return std::vector<uint32_t>();
}
void PrintPacketHeaderHandler::HandlePacket(const arm::pipe::Packet& packet)
{
std::stringstream ss;
ss << "Handler Received Outgoing Packet [" << packet.GetPacketFamily() << ":" << packet.GetPacketId() << "]";
ss << " Length [" << packet.GetLength() << "]" << std::endl;
std::cout << ss.str() << std::endl;
};
} // namespace pipe
} // namespace arm