diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2022-03-04 12:11:09 +0000 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2022-03-04 12:11:09 +0000 |
commit | 6f073727ad98d94f43a3938ddeac3f5a231ad959 (patch) | |
tree | d691d5f28846d66729cd0b4c52761d4d9a90305f /src/profiling/backends | |
parent | ae91a5e058da31e912c0768f516b2ef013c3b39e (diff) | |
download | armnn-6f073727ad98d94f43a3938ddeac3f5a231ad959.tar.gz |
IVGCVSW-6814 Remove references to armnn:BackendId in the profiling code
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ib399a5eee9e52882800ec3e02e4173424a7c19b1
Diffstat (limited to 'src/profiling/backends')
-rw-r--r-- | src/profiling/backends/BackendProfiling.cpp | 2 | ||||
-rw-r--r-- | src/profiling/backends/BackendProfiling.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/backends/BackendProfiling.cpp b/src/profiling/backends/BackendProfiling.cpp index 6c0f9b1b5c..e29316ee3b 100644 --- a/src/profiling/backends/BackendProfiling.cpp +++ b/src/profiling/backends/BackendProfiling.cpp @@ -73,7 +73,7 @@ std::vector<CounterStatus> BackendProfiling::GetActiveCounters() for (auto globalCounterId : globalCounterIds) { // Get pair of local counterId and backendId using globalCounterId - const std::pair<uint16_t, armnn::BackendId>& backendCounterIdPair = + const std::pair<uint16_t, std::string>& backendCounterIdPair = m_ProfilingService.GetCounterMappings().GetBackendId(globalCounterId); if (backendCounterIdPair.second == m_BackendId) { diff --git a/src/profiling/backends/BackendProfiling.hpp b/src/profiling/backends/BackendProfiling.hpp index 545234db56..bedda5d763 100644 --- a/src/profiling/backends/BackendProfiling.hpp +++ b/src/profiling/backends/BackendProfiling.hpp @@ -19,7 +19,7 @@ class BackendProfiling : public IBackendProfiling public: BackendProfiling(const ProfilingOptions& options, IProfilingService& profilingService, - const armnn::BackendId& backendId) + const std::string& backendId) : m_Options(options), m_ProfilingService(profilingService), m_BackendId(backendId) {} @@ -45,7 +45,7 @@ public: private: ProfilingOptions m_Options; IProfilingService& m_ProfilingService; - armnn::BackendId m_BackendId; + std::string m_BackendId; }; } // namespace pipe |