aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTests.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/test/ProfilingTests.hpp')
-rw-r--r--src/profiling/test/ProfilingTests.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/profiling/test/ProfilingTests.hpp b/src/profiling/test/ProfilingTests.hpp
index cfac691cff..208fb80865 100644
--- a/src/profiling/test/ProfilingTests.hpp
+++ b/src/profiling/test/ProfilingTests.hpp
@@ -75,7 +75,12 @@ public:
void Close() override {}
- bool WritePacket(const unsigned char* buffer, uint32_t length) override { return false; }
+ bool WritePacket(const unsigned char* buffer, uint32_t length) override
+ {
+ boost::ignore_unused(buffer, length);
+
+ return false;
+ }
Packet ReadPacket(uint32_t timeout) override
{
@@ -134,6 +139,7 @@ public:
Packet ReadPacket(uint32_t timeout) override
{
+ boost::ignore_unused(timeout);
++m_ReadRequests;
throw armnn::Exception("Simulate a non-timeout error");
}
@@ -156,6 +162,7 @@ public:
void operator()(const Packet& packet) override
{
+ boost::ignore_unused(packet);
m_Count++;
}