IVGCVSW-6814 Remove references to armnn:BackendId in the profiling code
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ib399a5eee9e52882800ec3e02e4173424a7c19b1
diff --git a/src/profiling/backends/BackendProfiling.cpp b/src/profiling/backends/BackendProfiling.cpp
index 6c0f9b1..e29316ee 100644
--- a/src/profiling/backends/BackendProfiling.cpp
+++ b/src/profiling/backends/BackendProfiling.cpp
@@ -73,7 +73,7 @@
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 545234d..bedda5d 100644
--- a/src/profiling/backends/BackendProfiling.hpp
+++ b/src/profiling/backends/BackendProfiling.hpp
@@ -19,7 +19,7 @@
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 @@
private:
ProfilingOptions m_Options;
IProfilingService& m_ProfilingService;
- armnn::BackendId m_BackendId;
+ std::string m_BackendId;
};
} // namespace pipe