aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SendThread.cpp
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-02-25 15:33:28 +0000
committerCathal Corbett <cathal.corbett@arm.com>2022-03-01 11:44:14 +0000
commit5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab (patch)
tree23a3a0d5ca5143924277f34c98d36cf7b99430a7 /src/profiling/SendThread.cpp
parent1fc448ad2455ad31b96a3891f847125a3295d75a (diff)
downloadarmnn-5aa9fd7ac6bf8dad576fa4a0a32aa3dae98d11ab.tar.gz
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 <cathal.corbett@arm.com> Change-Id: I9c50007dcd5b5e792757e7bd1213606df5ffec36
Diffstat (limited to 'src/profiling/SendThread.cpp')
-rw-r--r--src/profiling/SendThread.cpp16
1 files changed, 8 insertions, 8 deletions
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 <cstring>
-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