aboutsummaryrefslogtreecommitdiff
path: root/include/armnn/profiling/ILocalPacketHandler.hpp
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-02-25 15:33:28 +0000
committerCathal Corbett <cathal.corbett@arm.com>2022-03-01 11:44:14 +0000
commit5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab (patch)
tree23a3a0d5ca5143924277f34c98d36cf7b99430a7 /include/armnn/profiling/ILocalPacketHandler.hpp
parent1fc448ad2455ad31b96a3891f847125a3295d75a (diff)
downloadarmnn-5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab.tar.gz
IVGCVSW-6704 Change the namespace from armnn::profiling to arm::pipe
* Updated ABI version to 29 due to being the first ABI break in 22.05 !android-nn-driver:7226 Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36
Diffstat (limited to 'include/armnn/profiling/ILocalPacketHandler.hpp')
-rw-r--r--include/armnn/profiling/ILocalPacketHandler.hpp24
1 files changed, 6 insertions, 18 deletions
diff --git a/include/armnn/profiling/ILocalPacketHandler.hpp b/include/armnn/profiling/ILocalPacketHandler.hpp
index af1b0f88b8..bf7bdbc5c4 100644
--- a/include/armnn/profiling/ILocalPacketHandler.hpp
+++ b/include/armnn/profiling/ILocalPacketHandler.hpp
@@ -7,6 +7,7 @@
#include <armnn/utility/IgnoreUnused.hpp>
+#include "../../../profiling/common/include/TargetEndianess.hpp"
#include <cstdint>
#include <memory>
@@ -17,21 +18,8 @@ namespace arm
{
namespace pipe
{
- class Packet;
-} // namespace pipe
-} // namespace arm
-
-namespace armnn
-{
-
-namespace profiling
-{
-enum class TargetEndianness
-{
- BeWire,
- LeWire
-};
+class Packet;
// the handlers need to be able to do two
// things to service the FileOnlyProfilingConnection
@@ -45,7 +33,7 @@ public:
virtual void SetEndianess(const TargetEndianness& endianness) = 0;
- virtual void ReturnPacket(arm::pipe::Packet& packet) = 0;
+ virtual void ReturnPacket(Packet& packet) = 0;
virtual void Close() = 0;
};
@@ -62,7 +50,7 @@ public:
virtual std::vector<uint32_t> GetHeadersAccepted() = 0;
/// process the packet
- virtual void HandlePacket(const arm::pipe::Packet& packet) = 0;
+ virtual void HandlePacket(const 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.
@@ -73,6 +61,6 @@ public:
using ILocalPacketHandlerPtr = std::unique_ptr<ILocalPacketHandler>;
using ILocalPacketHandlerSharedPtr = std::shared_ptr<ILocalPacketHandler>;
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn \ No newline at end of file
+} // namespace arm \ No newline at end of file