From 5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 25 Feb 2022 15:33:28 +0000 Subject: IVGCVSW-6704 Change the namespace from armnn::profiling to arm::pipe * Updated ABI version to 29 due to being the first ABI break in 22.05 !android-nn-driver:7226 Signed-off-by: Cathal Corbett Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36 --- src/profiling/SendThread.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/profiling/SendThread.cpp') diff --git a/src/profiling/SendThread.cpp b/src/profiling/SendThread.cpp index 1a0e35976e..41385c5cc8 100644 --- a/src/profiling/SendThread.cpp +++ b/src/profiling/SendThread.cpp @@ -14,15 +14,15 @@ #include -namespace armnn +namespace arm { -namespace profiling +namespace pipe { -SendThread::SendThread(armnn::profiling::ProfilingStateMachine& profilingStateMachine, - armnn::profiling::IBufferManager& buffer, - armnn::profiling::ISendCounterPacket& sendCounterPacket, +SendThread::SendThread(ProfilingStateMachine& profilingStateMachine, + IBufferManager& buffer, + ISendCounterPacket& sendCounterPacket, int timeout) : m_StateMachine(profilingStateMachine) , m_BufferManager(buffer) @@ -128,7 +128,7 @@ void SendThread::Send(IProfilingConnection& profilingConnection) // An exception should be thrown here, save it to be rethrown later from the main thread so that // it can be caught by the consumer m_SendThreadException = - std::make_exception_ptr(RuntimeException("The send thread should not be running with the " + std::make_exception_ptr(armnn::RuntimeException("The send thread should not be running with the " "profiling service not yet initialized or connected")); return; @@ -270,6 +270,6 @@ bool SendThread::WaitForPacketSent(uint32_t timeout = 1000) return timedOut; } -} // namespace profiling +} // namespace pipe -} // namespace armnn +} // namespace arm -- cgit v1.2.1