diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2022-02-25 15:33:28 +0000 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2022-03-01 11:44:14 +0000 |
commit | 5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab (patch) | |
tree | 23a3a0d5ca5143924277f34c98d36cf7b99430a7 /src/profiling/PeriodicCounterSelectionCommandHandler.hpp | |
parent | 1fc448ad2455ad31b96a3891f847125a3295d75a (diff) | |
download | armnn-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/PeriodicCounterSelectionCommandHandler.hpp')
-rw-r--r-- | src/profiling/PeriodicCounterSelectionCommandHandler.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <set> -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<BackendId, - std::shared_ptr<armnn::profiling::IBackendProfilingContext>>& + const std::unordered_map<armnn::BackendId, + std::shared_ptr<IBackendProfilingContext>>& backendProfilingContexts, const ICounterMappings& counterIdMap, Holder& captureDataHolder, @@ -65,8 +65,8 @@ public: private: std::unordered_map<armnn::BackendId, std::vector<uint16_t>> m_BackendCounterMap; - const std::unordered_map<BackendId, - std::shared_ptr<armnn::profiling::IBackendProfilingContext>>& m_BackendProfilingContexts; + const std::unordered_map<armnn::BackendId, + std::shared_ptr<IBackendProfilingContext>>& 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<uint16_t> counterIds) { - Optional<std::string> errorMsg = + armnn::Optional<std::string> 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 |