aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/backends')
-rw-r--r--src/profiling/backends/BackendProfiling.cpp2
-rw-r--r--src/profiling/backends/BackendProfiling.hpp4
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