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/PeriodicCounterCapture.cpp | |
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/PeriodicCounterCapture.cpp')
-rw-r--r-- | src/profiling/PeriodicCounterCapture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<Timestamp>& timestampValues) + const std::string& backendId, const std::vector<Timestamp>& 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()); |