aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/PeriodicCounterSelectionCommandHandler.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/PeriodicCounterSelectionCommandHandler.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/PeriodicCounterSelectionCommandHandler.cpp')
-rw-r--r--src/profiling/PeriodicCounterSelectionCommandHandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/PeriodicCounterSelectionCommandHandler.cpp b/src/profiling/PeriodicCounterSelectionCommandHandler.cpp
index f94cb31f62..ae2aa0b94c 100644
--- a/src/profiling/PeriodicCounterSelectionCommandHandler.cpp
+++ b/src/profiling/PeriodicCounterSelectionCommandHandler.cpp
@@ -13,10 +13,10 @@
#include <vector>
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
void PeriodicCounterSelectionCommandHandler::ParseData(const arm::pipe::Packet& packet, CaptureData& captureData)
@@ -65,7 +65,7 @@ void PeriodicCounterSelectionCommandHandler::operator()(const arm::pipe::Packet&
case ProfilingState::Uninitialised:
case ProfilingState::NotConnected:
case ProfilingState::WaitingForAck:
- throw RuntimeException(fmt::format("Periodic Counter Selection Command Handler invoked while in "
+ throw armnn::RuntimeException(fmt::format("Periodic Counter Selection Command Handler invoked while in "
"an wrong state: {}",
GetProfilingStateName(currentState)));
case ProfilingState::Active:
@@ -161,7 +161,7 @@ void PeriodicCounterSelectionCommandHandler::operator()(const arm::pipe::Packet&
break;
}
default:
- throw RuntimeException(fmt::format("Unknown profiling service state: {}",
+ throw armnn::RuntimeException(fmt::format("Unknown profiling service state: {}",
static_cast<int>(currentState)));
}
}
@@ -228,6 +228,6 @@ std::set<armnn::BackendId> PeriodicCounterSelectionCommandHandler::ProcessBacken
return activeBackends;
}
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm