diff options
Diffstat (limited to 'src/profiling')
-rw-r--r-- | src/profiling/CounterDirectory.cpp | 3 | ||||
-rw-r--r-- | src/profiling/test/SendCounterPacketTests.hpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/profiling/CounterDirectory.cpp b/src/profiling/CounterDirectory.cpp index 5a69e1c802..6b2a945c9c 100644 --- a/src/profiling/CounterDirectory.cpp +++ b/src/profiling/CounterDirectory.cpp @@ -9,6 +9,7 @@ #include <armnn/Exceptions.hpp> #include <armnn/Conversion.hpp> +#include <boost/core/ignore_unused.hpp> #include <boost/format.hpp> namespace armnn @@ -285,6 +286,8 @@ const Counter* CounterDirectory::RegisterCounter(const BackendId& backendId, const Optional<uint16_t>& deviceUid, const Optional<uint16_t>& counterSetUid) { + boost::ignore_unused(backendId); + // Check that the given parent category name is valid if (parentCategoryName.empty() || !IsValidSwTraceString<SwTraceNameCharPolicy>(parentCategoryName)) diff --git a/src/profiling/test/SendCounterPacketTests.hpp b/src/profiling/test/SendCounterPacketTests.hpp index d0b13b59c0..6b244be0b4 100644 --- a/src/profiling/test/SendCounterPacketTests.hpp +++ b/src/profiling/test/SendCounterPacketTests.hpp @@ -14,6 +14,7 @@ #include <armnn/Conversion.hpp> #include <boost/assert.hpp> +#include <boost/core/ignore_unused.hpp> #include <boost/numeric/conversion/cast.hpp> namespace armnn @@ -442,6 +443,8 @@ public: const armnn::Optional<uint16_t>& deviceUid = armnn::EmptyOptional(), const armnn::Optional<uint16_t>& counterSetUid = armnn::EmptyOptional()) { + boost::ignore_unused(backendId); + // Get the number of cores from the argument only uint16_t deviceCores = numberOfCores.has_value() ? numberOfCores.value() : 0; |