aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/PrintPacketHeaderHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/PrintPacketHeaderHandler.hpp')
-rw-r--r--src/profiling/test/PrintPacketHeaderHandler.hpp26
1 files changed, 26 insertions, 0 deletions
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 <armnn/profiling/ILocalPacketHandler.hpp>
+#include "Packet.hpp"
+
+namespace armnn
+{
+
+namespace profiling
+{
+
+class PrintPacketHeaderHandler : public ILocalPacketHandler
+{
+ virtual std::vector<uint32_t> GetHeadersAccepted();
+
+ virtual void HandlePacket(const Packet& packet);
+};
+
+} // namespace profiling
+
+} // namespace armnn