aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTests.hpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2019-12-10 21:23:23 +0000
committerFrancis Murtagh <francis.murtagh@arm.com>2019-12-31 11:54:46 +0000
commit1dd75b3ce83b9adf611116d9247f7860951d8ed9 (patch)
tree6e4ec4003730a70720d509ada5022b80b8217e07 /src/profiling/test/ProfilingTests.hpp
parent859f9ced8360fcfe6daedf6c8f6613005893f814 (diff)
downloadarmnn-1dd75b3ce83b9adf611116d9247f7860951d8ed9.tar.gz
IVGCVSW-4246 Clean build profiling with -Wextra
Change-Id: Ieab870fa2194075433a0a26abdb13f69e1fbaaae Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
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++;
}