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/ConnectionAcknowledgedCommandHandler.cpp b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp
index c61c091..63ca741 100644
--- a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp
+++ b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp
@@ -10,10 +10,10 @@
#include <fmt/format.h>
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
void ConnectionAcknowledgedCommandHandler::operator()(const arm::pipe::Packet& packet)
@@ -23,7 +23,7 @@
{
case ProfilingState::Uninitialised:
case ProfilingState::NotConnected:
- throw RuntimeException(fmt::format("Connection Acknowledged Command Handler invoked while in an "
+ throw armnn::RuntimeException(fmt::format("Connection Acknowledged Command Handler invoked while in an "
"wrong state: {}",
GetProfilingStateName(currentState)));
case ProfilingState::WaitingForAck:
@@ -54,7 +54,7 @@
// Enable profiling on the backend and assert that it returns true
if(!backendContext.second->EnableProfiling(true))
{
- throw BackendProfilingException(
+ throw armnn::BackendProfilingException(
"Unable to enable profiling on Backend Id: " + backendContext.first.Get());
}
}
@@ -67,12 +67,12 @@
case ProfilingState::Active:
return; // NOP
default:
- throw RuntimeException(fmt::format("Unknown profiling service state: {}",
+ throw armnn::RuntimeException(fmt::format("Unknown profiling service state: {}",
static_cast<int>(currentState)));
}
}
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm