aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/RegisterBackendCounters.cpp
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/RegisterBackendCounters.cpp
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/RegisterBackendCounters.cpp')
-rw-r--r--src/profiling/RegisterBackendCounters.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/profiling/RegisterBackendCounters.cpp b/src/profiling/RegisterBackendCounters.cpp
index 035a2ca8a9..dcafe3b226 100644
--- a/src/profiling/RegisterBackendCounters.cpp
+++ b/src/profiling/RegisterBackendCounters.cpp
@@ -5,10 +5,10 @@
#include "RegisterBackendCounters.hpp"
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
void RegisterBackendCounters::RegisterCategory(const std::string& categoryName)
@@ -18,7 +18,7 @@ void RegisterBackendCounters::RegisterCategory(const std::string& categoryName)
uint16_t RegisterBackendCounters::RegisterDevice(const std::string& deviceName,
uint16_t cores,
- const Optional<std::string>& parentCategoryName)
+ const armnn::Optional<std::string>& parentCategoryName)
{
const Device* devicePtr = m_CounterDirectory.RegisterDevice(deviceName, cores, parentCategoryName);
return devicePtr->m_Uid;
@@ -26,7 +26,7 @@ uint16_t RegisterBackendCounters::RegisterDevice(const std::string& deviceName,
uint16_t RegisterBackendCounters::RegisterCounterSet(const std::string& counterSetName,
uint16_t count,
- const Optional<std::string>& parentCategoryName)
+ const armnn::Optional<std::string>& parentCategoryName)
{
const CounterSet* counterSetPtr = m_CounterDirectory.RegisterCounterSet(counterSetName, count, parentCategoryName);
return counterSetPtr->m_Uid;
@@ -39,10 +39,10 @@ uint16_t RegisterBackendCounters::RegisterCounter(const uint16_t uid,
double multiplier,
const std::string& name,
const std::string& description,
- const Optional<std::string>& units,
- const Optional<uint16_t>& numberOfCores,
- const Optional<uint16_t>& deviceUid,
- const Optional<uint16_t>& counterSetUid)
+ const armnn::Optional<std::string>& units,
+ const armnn::Optional<uint16_t>& numberOfCores,
+ const armnn::Optional<uint16_t>& deviceUid,
+ const armnn::Optional<uint16_t>& counterSetUid)
{
++m_CurrentMaxGlobalCounterID;
const Counter* counterPtr = m_CounterDirectory.RegisterCounter(m_BackendId,
@@ -80,6 +80,6 @@ uint16_t RegisterBackendCounters::RegisterCounter(const uint16_t uid,
return m_CurrentMaxGlobalCounterID;
}
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm