From 5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 25 Feb 2022 15:33:28 +0000 Subject: 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 Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36 --- .../PeriodicCounterSelectionCommandHandler.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/profiling/PeriodicCounterSelectionCommandHandler.hpp') diff --git a/src/profiling/PeriodicCounterSelectionCommandHandler.hpp b/src/profiling/PeriodicCounterSelectionCommandHandler.hpp index ec67391b9c..e8cdf0e5aa 100644 --- a/src/profiling/PeriodicCounterSelectionCommandHandler.hpp +++ b/src/profiling/PeriodicCounterSelectionCommandHandler.hpp @@ -21,10 +21,10 @@ #include -namespace armnn +namespace arm { -namespace profiling +namespace pipe { @@ -35,8 +35,8 @@ public: PeriodicCounterSelectionCommandHandler(uint32_t familyId, uint32_t packetId, uint32_t version, - const std::unordered_map>& + const std::unordered_map>& backendProfilingContexts, const ICounterMappings& counterIdMap, Holder& captureDataHolder, @@ -65,8 +65,8 @@ public: private: std::unordered_map> m_BackendCounterMap; - const std::unordered_map>& m_BackendProfilingContexts; + const std::unordered_map>& m_BackendProfilingContexts; const ICounterMappings& m_CounterIdMap; Holder& m_CaptureDataHolder; const uint16_t m_MaxArmCounterId; @@ -81,7 +81,7 @@ private: const uint32_t capturePeriod, const std::vector counterIds) { - Optional errorMsg = + armnn::Optional errorMsg = m_BackendProfilingContexts.at(backendId)->ActivateCounters(capturePeriod, counterIds); if(errorMsg.has_value()) @@ -97,7 +97,7 @@ private: }; -} // namespace profiling +} // namespace pipe -} // namespace armnn +} // namespace arm -- cgit v1.2.1