diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-13 22:35:46 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-14 00:34:17 +0000 |
commit | decd08b89565b18067d229c8c25b6f3a3333c653 (patch) | |
tree | 56176931968b83646b7e69f8e5b84ff7a65a24aa /src/profiling/RegisterBackendCounters.cpp | |
parent | 77b284e6988b9a131d6abb3140ec6663c2ae84ae (diff) | |
download | armnn-decd08b89565b18067d229c8c25b6f3a3333c653.tar.gz |
IVGCVSW-6847 replace armnn:Optional with arm::pipe::Optional in profiling code
Change-Id: I048c538d4f8c21770aec2b2751c934d9fa15a4dc
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/RegisterBackendCounters.cpp')
-rw-r--r-- | src/profiling/RegisterBackendCounters.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/RegisterBackendCounters.cpp b/src/profiling/RegisterBackendCounters.cpp index dcafe3b226..79ffa20981 100644 --- a/src/profiling/RegisterBackendCounters.cpp +++ b/src/profiling/RegisterBackendCounters.cpp @@ -18,7 +18,7 @@ void RegisterBackendCounters::RegisterCategory(const std::string& categoryName) uint16_t RegisterBackendCounters::RegisterDevice(const std::string& deviceName, uint16_t cores, - const armnn::Optional<std::string>& parentCategoryName) + const arm::pipe::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 armnn::Optional<std::string>& parentCategoryName) + const arm::pipe::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 armnn::Optional<std::string>& units, - const armnn::Optional<uint16_t>& numberOfCores, - const armnn::Optional<uint16_t>& deviceUid, - const armnn::Optional<uint16_t>& counterSetUid) + const arm::pipe::Optional<std::string>& units, + const arm::pipe::Optional<uint16_t>& numberOfCores, + const arm::pipe::Optional<uint16_t>& deviceUid, + const arm::pipe::Optional<uint16_t>& counterSetUid) { ++m_CurrentMaxGlobalCounterID; const Counter* counterPtr = m_CounterDirectory.RegisterCounter(m_BackendId, |