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/test/ProfilingTests.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/profiling/test/ProfilingTests.hpp') diff --git a/src/profiling/test/ProfilingTests.hpp b/src/profiling/test/ProfilingTests.hpp index e1590bd4d9..ed3e03db77 100644 --- a/src/profiling/test/ProfilingTests.hpp +++ b/src/profiling/test/ProfilingTests.hpp @@ -96,7 +96,7 @@ public: else { std::this_thread::sleep_for(std::chrono::milliseconds(timeout)); - throw armnn::TimeoutException("Simulate a timeout error\n"); + throw arm::pipe::TimeoutException("Simulate a timeout error\n"); } } @@ -117,7 +117,7 @@ public: { std::this_thread::sleep_for(std::chrono::milliseconds(timeout)); ++m_ReadRequests; - throw armnn::TimeoutException("Simulate a timeout error\n"); + throw arm::pipe::TimeoutException("Simulate a timeout error\n"); } return arm::pipe::Packet(65536); @@ -143,7 +143,7 @@ public: { armnn::IgnoreUnused(timeout); ++m_ReadRequests; - throw armnn::Exception("Simulate a non-timeout error"); + throw arm::pipe::ProfilingException("Simulate a non-timeout error"); } int ReadCalledCount() -- cgit v1.2.1