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
diff --git a/src/profiling/SendTimelinePacket.cpp b/src/profiling/SendTimelinePacket.cpp
index 11e3d2f..e44e5aa 100644
--- a/src/profiling/SendTimelinePacket.cpp
+++ b/src/profiling/SendTimelinePacket.cpp
@@ -5,10 +5,10 @@
#include "SendTimelinePacket.hpp"
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
void SendTimelinePacket::Commit()
@@ -142,9 +142,9 @@
TimelinePacketStatus result = WriteTimelineMessageDirectoryPackage(&m_WriteBuffer->GetWritableData()[m_Offset],
m_RemainingBufferSize,
numberOfBytesWritten);
- if (result != armnn::profiling::TimelinePacketStatus::Ok)
+ if (result != TimelinePacketStatus::Ok)
{
- throw RuntimeException("Error processing TimelineMessageDirectoryPackage", CHECK_LOCATION());
+ throw armnn::RuntimeException("Error processing TimelineMessageDirectoryPackage", CHECK_LOCATION());
}
// Commit the message
@@ -154,10 +154,10 @@
}
catch (...)
{
- throw RuntimeException("Error processing TimelineMessageDirectoryPackage", CHECK_LOCATION());
+ throw armnn::RuntimeException("Error processing TimelineMessageDirectoryPackage", CHECK_LOCATION());
}
}
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm