aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ConnectionAcknowledgedCommandHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/ConnectionAcknowledgedCommandHandler.cpp')
-rw-r--r--src/profiling/ConnectionAcknowledgedCommandHandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profiling/ConnectionAcknowledgedCommandHandler.cpp b/src/profiling/ConnectionAcknowledgedCommandHandler.cpp
index c61c091bc4..63ca741374 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 @@ void ConnectionAcknowledgedCommandHandler::operator()(const arm::pipe::Packet& p
{
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 @@ void ConnectionAcknowledgedCommandHandler::operator()(const arm::pipe::Packet& p
// 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 @@ void ConnectionAcknowledgedCommandHandler::operator()(const arm::pipe::Packet& p
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