From bbfe603e5ae42317a2b67d713d00882bea341c88 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Mon, 20 Jul 2020 16:57:44 +0100 Subject: IVGCVSW-5166 Pull out the common and server side code into standalone libraries Change-Id: I180f84c493a9b2be4b93b25d312ebdd9e71b1735 Signed-off-by: Jim Flynn --- include/armnn/profiling/ILocalPacketHandler.hpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'include/armnn/profiling/ILocalPacketHandler.hpp') diff --git a/include/armnn/profiling/ILocalPacketHandler.hpp b/include/armnn/profiling/ILocalPacketHandler.hpp index 158c0eb852..af1b0f88b8 100644 --- a/include/armnn/profiling/ILocalPacketHandler.hpp +++ b/include/armnn/profiling/ILocalPacketHandler.hpp @@ -12,6 +12,15 @@ #include #include +// forward declare to prevent a circular dependency +namespace arm +{ +namespace pipe +{ + class Packet; +} // namespace pipe +} // namespace arm + namespace armnn { @@ -24,9 +33,6 @@ enum class TargetEndianness LeWire }; -// forward declare to prevent a circular dependency -class Packet; - // the handlers need to be able to do two // things to service the FileOnlyProfilingConnection // and any other implementation of IProfilingConnection @@ -39,7 +45,7 @@ public: virtual void SetEndianess(const TargetEndianness& endianness) = 0; - virtual void ReturnPacket(Packet& packet) = 0; + virtual void ReturnPacket(arm::pipe::Packet& packet) = 0; virtual void Close() = 0; }; @@ -56,7 +62,7 @@ public: virtual std::vector GetHeadersAccepted() = 0; /// process the packet - virtual void HandlePacket(const Packet& packet) = 0; + virtual void HandlePacket(const arm::pipe::Packet& packet) = 0; /// Set a profiling connection on the handler. Only need to implement this /// function if the handler will be writing data back to the profiled application. -- cgit v1.2.1