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/PeriodicCounterCapture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/profiling/PeriodicCounterCapture.cpp') diff --git a/src/profiling/PeriodicCounterCapture.cpp b/src/profiling/PeriodicCounterCapture.cpp index 11ad6511fe..dd6d394d62 100644 --- a/src/profiling/PeriodicCounterCapture.cpp +++ b/src/profiling/PeriodicCounterCapture.cpp @@ -56,7 +56,7 @@ CaptureData PeriodicCounterCapture::ReadCaptureData() } void PeriodicCounterCapture::DispatchPeriodicCounterCapturePacket( - const armnn::BackendId& backendId, const std::vector& timestampValues) + const std::string& backendId, const std::vector& timestampValues) { // Report counter values for (const auto& timestampInfo : timestampValues) @@ -122,7 +122,7 @@ void PeriodicCounterCapture::Capture(IReadCounterValues& readCounterValues) // Report counter values for each active backend auto activeBackends = currentCaptureData.GetActiveBackends(); - for_each(activeBackends.begin(), activeBackends.end(), [&](const armnn::BackendId& backendId) + for_each(activeBackends.begin(), activeBackends.end(), [&](const std::string& backendId) { DispatchPeriodicCounterCapturePacket( backendId, m_BackendProfilingContexts.at(backendId)->ReportCounterValues()); -- cgit v1.2.1