From 4e755a50e35a1f5ac1b011dc4baf89e6d97f116e Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Sun, 29 Mar 2020 17:48:26 +0100 Subject: IVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connection Change-Id: Ib49a8cbbf323da4109cdab9750e6c4d276e484b7 Signed-off-by: Jim Flynn --- src/profiling/test/PrintPacketHeaderHandler.hpp | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/profiling/test/PrintPacketHeaderHandler.hpp (limited to 'src/profiling/test/PrintPacketHeaderHandler.hpp') diff --git a/src/profiling/test/PrintPacketHeaderHandler.hpp b/src/profiling/test/PrintPacketHeaderHandler.hpp new file mode 100644 index 0000000000..3cd5921e51 --- /dev/null +++ b/src/profiling/test/PrintPacketHeaderHandler.hpp @@ -0,0 +1,26 @@ +// +// Copyright © 2020 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include +#include "Packet.hpp" + +namespace armnn +{ + +namespace profiling +{ + +class PrintPacketHeaderHandler : public ILocalPacketHandler +{ + virtual std::vector GetHeadersAccepted(); + + virtual void HandlePacket(const Packet& packet); +}; + +} // namespace profiling + +} // namespace armnn -- cgit v1.2.1