diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 23:35:26 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-11 17:33:44 +0000 |
commit | 9265a88c0064dbcf5ad4694bbdcce1b335a394e6 (patch) | |
tree | b7e7eda3640cc0a7698d73c580b96c7d6cd635db /src/profiling/test/ProfilingTests.cpp | |
parent | 91343f34c7bbca5106d36f1dcd06ebcb22810f43 (diff) | |
download | armnn-9265a88c0064dbcf5ad4694bbdcce1b335a394e6.tar.gz |
IVGCVSW-6844 replace armnn:IgnoreUnused with arm::pipe::IgnoreUnused in profiling code
Change-Id: Ifbdfb034deda2f792ac1069dac808917606ccc9e
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/ProfilingTests.cpp')
-rw-r--r-- | src/profiling/test/ProfilingTests.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp index 9873527aa9..43938cff7f 100644 --- a/src/profiling/test/ProfilingTests.cpp +++ b/src/profiling/test/ProfilingTests.cpp @@ -31,13 +31,12 @@ #include <armnn/profiling/ArmNNProfiling.hpp> #include <armnn/profiling/ProfilingOptions.hpp> -#include <armnn/utility/IgnoreUnused.hpp> - #include <backends/BackendProfiling.hpp> #include <common/include/CommandHandlerKey.hpp> #include <common/include/CommandHandlerRegistry.hpp> #include <common/include/EncodeVersion.hpp> +#include <common/include/IgnoreUnused.hpp> #include <common/include/NumericCast.hpp> #include <common/include/Packet.hpp> #include <common/include/PacketVersionResolver.hpp> @@ -1772,12 +1771,12 @@ TEST_CASE("CounterSelectionCommandHandlerParseData") { bool IsCounterRegistered(uint16_t counterUid) const override { - armnn::IgnoreUnused(counterUid); + arm::pipe::IgnoreUnused(counterUid); return true; } bool IsCounterRegistered(const std::string& counterName) const override { - armnn::IgnoreUnused(counterName); + arm::pipe::IgnoreUnused(counterName); return true; } uint16_t GetCounterCount() const override @@ -1786,12 +1785,12 @@ TEST_CASE("CounterSelectionCommandHandlerParseData") } uint32_t GetAbsoluteCounterValue(uint16_t counterUid) const override { - armnn::IgnoreUnused(counterUid); + arm::pipe::IgnoreUnused(counterUid); return 0; } uint32_t GetDeltaCounterValue(uint16_t counterUid) override { - armnn::IgnoreUnused(counterUid); + arm::pipe::IgnoreUnused(counterUid); return 0; } }; @@ -2320,12 +2319,12 @@ TEST_CASE("CheckPeriodicCounterCaptureThread") //not used bool IsCounterRegistered(uint16_t counterUid) const override { - armnn::IgnoreUnused(counterUid); + arm::pipe::IgnoreUnused(counterUid); return false; } bool IsCounterRegistered(const std::string& counterName) const override { - armnn::IgnoreUnused(counterName); + arm::pipe::IgnoreUnused(counterName); return false; } uint16_t GetCounterCount() const override |