diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2022-03-04 12:11:09 +0000 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2022-03-04 12:11:09 +0000 |
commit | 6f073727ad98d94f43a3938ddeac3f5a231ad959 (patch) | |
tree | d691d5f28846d66729cd0b4c52761d4d9a90305f /src/profiling/CounterDirectory.cpp | |
parent | ae91a5e058da31e912c0768f516b2ef013c3b39e (diff) | |
download | armnn-6f073727ad98d94f43a3938ddeac3f5a231ad959.tar.gz |
IVGCVSW-6814 Remove references to armnn:BackendId in the profiling code
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ib399a5eee9e52882800ec3e02e4173424a7c19b1
Diffstat (limited to 'src/profiling/CounterDirectory.cpp')
-rw-r--r-- | src/profiling/CounterDirectory.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/profiling/CounterDirectory.cpp b/src/profiling/CounterDirectory.cpp index 5a7d8c6165..ba4ca1cc35 100644 --- a/src/profiling/CounterDirectory.cpp +++ b/src/profiling/CounterDirectory.cpp @@ -6,9 +6,8 @@ #include "CounterDirectory.hpp" #include "ProfilingUtils.hpp" -#include <armnn/Exceptions.hpp> +#include <armnn/BackendId.hpp> #include <armnn/utility/Assert.hpp> -#include <armnn/utility/IgnoreUnused.hpp> #include <common/include/SwTrace.hpp> @@ -178,7 +177,7 @@ const CounterSet* CounterDirectory::RegisterCounterSet(const std::string& counte return counterSetPtr; } -const Counter* CounterDirectory::RegisterCounter(const armnn::BackendId& backendId, +const Counter* CounterDirectory::RegisterCounter(const std::string& /*backendId*/, const uint16_t uid, const std::string& parentCategoryName, uint16_t counterClass, @@ -191,8 +190,6 @@ const Counter* CounterDirectory::RegisterCounter(const armnn::BackendId& backend const armnn::Optional<uint16_t>& deviceUid, const armnn::Optional<uint16_t>& counterSetUid) { - IgnoreUnused(backendId); - // Check that the given parent category name is valid if (parentCategoryName.empty() || !arm::pipe::IsValidSwTraceString<arm::pipe::SwTraceNameCharPolicy>(parentCategoryName)) |