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 --- src/profiling/RegisterBackendCounters.hpp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/profiling/RegisterBackendCounters.hpp') diff --git a/src/profiling/RegisterBackendCounters.hpp b/src/profiling/RegisterBackendCounters.hpp index f81f487472..f25feb5306 100644 --- a/src/profiling/RegisterBackendCounters.hpp +++ b/src/profiling/RegisterBackendCounters.hpp @@ -10,10 +10,10 @@ #include "CounterDirectory.hpp" #include "ProfilingService.hpp" -namespace armnn +namespace arm { -namespace profiling +namespace pipe { class RegisterBackendCounters : public IRegisterBackendCounters @@ -21,7 +21,7 @@ class RegisterBackendCounters : public IRegisterBackendCounters public: RegisterBackendCounters( - uint16_t currentMaxGlobalCounterID, const BackendId& backendId, ProfilingService& profilingService) + uint16_t currentMaxGlobalCounterID, const armnn::BackendId& backendId, ProfilingService& profilingService) : m_CurrentMaxGlobalCounterID(currentMaxGlobalCounterID), m_BackendId(backendId), m_ProfilingService(profilingService), @@ -33,11 +33,12 @@ public: uint16_t RegisterDevice(const std::string& deviceName, uint16_t cores = 0, - const Optional& parentCategoryName = EmptyOptional()) override; + const armnn::Optional& parentCategoryName = armnn::EmptyOptional()) override; uint16_t RegisterCounterSet(const std::string& counterSetName, uint16_t count = 0, - const Optional& parentCategoryName = EmptyOptional()) override; + const armnn::Optional& parentCategoryName + = armnn::EmptyOptional()) override; uint16_t RegisterCounter(const uint16_t uid, const std::string& parentCategoryName, @@ -46,18 +47,18 @@ public: double multiplier, const std::string& name, const std::string& description, - const Optional& units = EmptyOptional(), - const Optional& numberOfCores = EmptyOptional(), - const Optional& deviceUid = EmptyOptional(), - const Optional& counterSetUid = EmptyOptional()) override; + const armnn::Optional& units = armnn::EmptyOptional(), + const armnn::Optional& numberOfCores = armnn::EmptyOptional(), + const armnn::Optional& deviceUid = armnn::EmptyOptional(), + const armnn::Optional& counterSetUid = armnn::EmptyOptional()) override; private: uint16_t m_CurrentMaxGlobalCounterID; - const BackendId& m_BackendId; + const armnn::BackendId& m_BackendId; ProfilingService& m_ProfilingService; ICounterRegistry& m_CounterDirectory; }; -} // namespace profiling +} // namespace pipe -} // namespace armnn \ No newline at end of file +} // namespace arm \ No newline at end of file -- cgit v1.2.1