aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingMocks.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/ProfilingMocks.hpp')
-rw-r--r--src/profiling/test/ProfilingMocks.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/profiling/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp
index 19aad491af..944aea6454 100644
--- a/src/profiling/test/ProfilingMocks.hpp
+++ b/src/profiling/test/ProfilingMocks.hpp
@@ -16,9 +16,9 @@
#include <armnn/Exceptions.hpp>
#include <armnn/Optional.hpp>
#include <armnn/Conversion.hpp>
+#include <armnn/utility/IgnoreUnused.hpp>
#include <boost/assert.hpp>
-#include <boost/core/ignore_unused.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <atomic>
@@ -128,7 +128,7 @@ public:
Packet ReadPacket(uint32_t timeout) override
{
- boost::ignore_unused(timeout);
+ 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));
@@ -162,7 +162,7 @@ class MockProfilingConnectionFactory : public IProfilingConnectionFactory
public:
IProfilingConnectionPtr GetProfilingConnection(const ExternalProfilingOptions& options) const override
{
- boost::ignore_unused(options);
+ IgnoreUnused(options);
return std::make_unique<MockProfilingConnection>();
}
};
@@ -399,7 +399,7 @@ public:
void SendCounterDirectoryPacket(const ICounterDirectory& counterDirectory) override
{
- boost::ignore_unused(counterDirectory);
+ IgnoreUnused(counterDirectory);
std::string message("SendCounterDirectoryPacket");
unsigned int reserved = 0;
@@ -411,7 +411,7 @@ public:
void SendPeriodicCounterCapturePacket(uint64_t timestamp,
const std::vector<CounterValue>& values) override
{
- boost::ignore_unused(timestamp, values);
+ IgnoreUnused(timestamp, values);
std::string message("SendPeriodicCounterCapturePacket");
unsigned int reserved = 0;
@@ -423,7 +423,7 @@ public:
void SendPeriodicCounterSelectionPacket(uint32_t capturePeriod,
const std::vector<uint16_t>& selectedCounterIds) override
{
- boost::ignore_unused(capturePeriod, selectedCounterIds);
+ IgnoreUnused(capturePeriod, selectedCounterIds);
std::string message("SendPeriodicCounterSelectionPacket");
unsigned int reserved = 0;
@@ -513,7 +513,7 @@ public:
const armnn::Optional<uint16_t>& deviceUid = armnn::EmptyOptional(),
const armnn::Optional<uint16_t>& counterSetUid = armnn::EmptyOptional())
{
- boost::ignore_unused(backendId);
+ IgnoreUnused(backendId);
// Get the number of cores from the argument only
uint16_t deviceCores = numberOfCores.has_value() ? numberOfCores.value() : 0;
@@ -597,19 +597,19 @@ public:
const Device* GetDevice(uint16_t uid) const override
{
- boost::ignore_unused(uid);
+ IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}
const CounterSet* GetCounterSet(uint16_t uid) const override
{
- boost::ignore_unused(uid);
+ IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}
const Counter* GetCounter(uint16_t uid) const override
{
- boost::ignore_unused(uid);
+ IgnoreUnused(uid);
return nullptr; // Not used by the unit tests
}