aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ConnectionAcknowledgedCommandHandler.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 /src/profiling/ConnectionAcknowledgedCommandHandler.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 'src/profiling/ConnectionAcknowledgedCommandHandler.hpp')
-rw-r--r--src/profiling/ConnectionAcknowledgedCommandHandler.hpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/profiling/ConnectionAcknowledgedCommandHandler.hpp b/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
index bad61b485f..5bb3c95cf5 100644
--- a/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
+++ b/src/profiling/ConnectionAcknowledgedCommandHandler.hpp
@@ -14,16 +14,16 @@
#include <common/include/CommandHandlerFunctor.hpp>
#include <common/include/Packet.hpp>
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
class ConnectionAcknowledgedCommandHandler final : public arm::pipe::CommandHandlerFunctor
{
-typedef const std::unordered_map<BackendId, std::shared_ptr<armnn::profiling::IBackendProfilingContext>>&
+typedef const std::unordered_map<armnn::BackendId, std::shared_ptr<IBackendProfilingContext>>&
BackendProfilingContexts;
public:
@@ -35,7 +35,8 @@ public:
ISendTimelinePacket& sendTimelinePacket,
ProfilingStateMachine& profilingStateMachine,
IProfilingServiceStatus& profilingServiceStatus,
- Optional<BackendProfilingContexts> backendProfilingContexts = EmptyOptional())
+ armnn::Optional<BackendProfilingContexts> backendProfilingContexts =
+ armnn::EmptyOptional())
: CommandHandlerFunctor(familyId, packetId, version)
, m_CounterDirectory(counterDirectory)
, m_SendCounterPacket(sendCounterPacket)
@@ -59,11 +60,11 @@ private:
ISendTimelinePacket& m_SendTimelinePacket;
ProfilingStateMachine& m_StateMachine;
IProfilingServiceStatus& m_ProfilingServiceStatus;
- Optional<BackendProfilingContexts> m_BackendProfilingContext;
+ armnn::Optional<BackendProfilingContexts> m_BackendProfilingContext;
std::atomic<bool> m_TimelineEnabled;
};
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm