From f9db3efe5ce2b989b59c47056e1b84b32d2f1100 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Tue, 8 Mar 2022 21:23:44 +0000 Subject: IVGCVSW-6821 Remove dependency on armnn::Exception classes from the Profiling code Change-Id: Id46a9a0576091df21b2af5b472f1ca5c6335e8a3 Signed-off-by: Jim Flynn --- 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 dd6d394d62..650043d7bd 100644 --- a/src/profiling/PeriodicCounterCapture.cpp +++ b/src/profiling/PeriodicCounterCapture.cpp @@ -105,7 +105,7 @@ void PeriodicCounterCapture::Capture(IReadCounterValues& readCounterValues) { counterValue = readCounterValues.GetDeltaCounterValue(requestedId); } - catch (const armnn::Exception& e) + catch (const arm::pipe::ProfilingException& e) { // Report the error and continue ARMNN_LOG(warning) << "An error has occurred when getting a counter value: " @@ -136,4 +136,4 @@ void PeriodicCounterCapture::Capture(IReadCounterValues& readCounterValues) } // namespace pipe -} // namespace arm \ No newline at end of file +} // namespace arm -- cgit v1.2.1