From 6f073727ad98d94f43a3938ddeac3f5a231ad959 Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 4 Mar 2022 12:11:09 +0000 Subject: IVGCVSW-6814 Remove references to armnn:BackendId in the profiling code Signed-off-by: Cathal Corbett Change-Id: Ib399a5eee9e52882800ec3e02e4173424a7c19b1 --- src/profiling/backends/BackendProfiling.cpp | 2 +- src/profiling/backends/BackendProfiling.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/profiling/backends') 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 BackendProfiling::GetActiveCounters() for (auto globalCounterId : globalCounterIds) { // Get pair of local counterId and backendId using globalCounterId - const std::pair& backendCounterIdPair = + const std::pair& 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 -- cgit v1.2.1