aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/MockBackend.hpp
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/backends/backendsCommon/test/MockBackend.hpp
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/backends/backendsCommon/test/MockBackend.hpp')
-rw-r--r--src/backends/backendsCommon/test/MockBackend.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backends/backendsCommon/test/MockBackend.hpp b/src/backends/backendsCommon/test/MockBackend.hpp
index df133dfed2..9b7b2f37c4 100644
--- a/src/backends/backendsCommon/test/MockBackend.hpp
+++ b/src/backends/backendsCommon/test/MockBackend.hpp
@@ -26,7 +26,7 @@ public:
~MockBackendInitialiser();
};
-class MockBackendProfilingContext : public profiling::IBackendProfilingContext
+class MockBackendProfilingContext : public arm::pipe::IBackendProfilingContext
{
public:
MockBackendProfilingContext(IBackendInternal::IBackendProfilingPtr& backendProfiling)
@@ -44,7 +44,7 @@ public:
uint16_t RegisterCounters(uint16_t currentMaxGlobalCounterId)
{
- std::unique_ptr<profiling::IRegisterBackendCounters> counterRegistrar =
+ std::unique_ptr<arm::pipe::IRegisterBackendCounters> counterRegistrar =
m_BackendProfiling->GetCounterRegistrationInterface(static_cast<uint16_t>(currentMaxGlobalCounterId));
std::string categoryName("MockCounters");
@@ -77,17 +77,17 @@ public:
return armnn::Optional<std::string>();
}
- std::vector<profiling::Timestamp> ReportCounterValues()
+ std::vector<arm::pipe::Timestamp> ReportCounterValues()
{
- std::vector<profiling::CounterValue> counterValues;
+ std::vector<arm::pipe::CounterValue> counterValues;
for (auto counterId : m_ActiveCounters)
{
- counterValues.emplace_back(profiling::CounterValue{ counterId, counterId + 1u });
+ counterValues.emplace_back(arm::pipe::CounterValue{ counterId, counterId + 1u });
}
uint64_t timestamp = m_CapturePeriod;
- return { profiling::Timestamp{ timestamp, counterValues } };
+ return { arm::pipe::Timestamp{ timestamp, counterValues } };
}
bool EnableProfiling(bool)