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/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp
index 491f057..5e7d31a 100644
--- a/src/profiling/test/ProfilingMocks.hpp
+++ b/src/profiling/test/ProfilingMocks.hpp
@@ -27,10 +27,10 @@
#include <mutex>
#include <thread>
-namespace armnn
+namespace arm
{
-namespace profiling
+namespace pipe
{
class MockProfilingConnection : public IProfilingConnection
@@ -131,7 +131,7 @@
arm::pipe::Packet ReadPacket(uint32_t timeout) override
{
- IgnoreUnused(timeout);
+ armnn::IgnoreUnused(timeout);
// Simulate a delay in the reading process. The default timeout is way too long.
std::this_thread::sleep_for(std::chrono::milliseconds(5));
@@ -165,7 +165,7 @@
public:
IProfilingConnectionPtr GetProfilingConnection(const ProfilingOptions& options) const override
{
- IgnoreUnused(options);
+ armnn::IgnoreUnused(options);
return std::make_unique<MockProfilingConnection>();
}
};
@@ -404,7 +404,7 @@
void SendCounterDirectoryPacket(const ICounterDirectory& counterDirectory) override
{
- IgnoreUnused(counterDirectory);
+ armnn::IgnoreUnused(counterDirectory);
std::string message("SendCounterDirectoryPacket");
unsigned int reserved = 0;
@@ -416,7 +416,7 @@
void SendPeriodicCounterCapturePacket(uint64_t timestamp,
const std::vector<CounterValue>& values) override
{
- IgnoreUnused(timestamp, values);
+ armnn::IgnoreUnused(timestamp, values);
std::string message("SendPeriodicCounterCapturePacket");
unsigned int reserved = 0;
@@ -428,7 +428,7 @@
void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod,
const std::vector<uint16_t>& selectedCounterIds) override
{
- IgnoreUnused(capturePeriod, selectedCounterIds);
+ armnn::IgnoreUnused(capturePeriod, selectedCounterIds);
std::string message("SendPeriodicCounterSelectionPacket");
unsigned int reserved = 0;
@@ -505,7 +505,7 @@
return counterSetPtr;
}
- const Counter* RegisterCounter(const BackendId& backendId,
+ const Counter* RegisterCounter(const armnn::BackendId& backendId,
const uint16_t uid,
const std::string& parentCategoryName,
uint16_t counterClass,
@@ -518,7 +518,7 @@
const armnn::Optional<uint16_t>& deviceUid = armnn::EmptyOptional(),
const armnn::Optional<uint16_t>& counterSetUid = armnn::EmptyOptional())
{
- IgnoreUnused(backendId);
+ armnn::IgnoreUnused(backendId);
// Get the number of cores from the argument only
uint16_t deviceCores = numberOfCores.has_value() ? numberOfCores.value() : 0;
@@ -602,19 +602,19 @@
const Device* GetDevice(uint16_t uid) const override
{
- IgnoreUnused(uid);
+ armnn::IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}
const CounterSet* GetCounterSet(uint16_t uid) const override
{
- IgnoreUnused(uid);
+ armnn::IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}
const Counter* GetCounter(uint16_t uid) const override
{
- IgnoreUnused(uid);
+ armnn::IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}
@@ -698,9 +698,9 @@
{
public:
void NotifyProfilingServiceActive() override {}
- void WaitForProfilingServiceActivation(unsigned int timeout) override { IgnoreUnused(timeout); }
+ void WaitForProfilingServiceActivation(unsigned int timeout) override { armnn::IgnoreUnused(timeout); }
};
-} // namespace profiling
+} // namespace pipe
-} // namespace armnn
+} // namespace arm