aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/Holder.hpp
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-03-04 12:11:09 +0000
committerCathal Corbett <cathal.corbett@arm.com>2022-03-04 12:11:09 +0000
commit6f073727ad98d94f43a3938ddeac3f5a231ad959 (patch)
treed691d5f28846d66729cd0b4c52761d4d9a90305f /src/profiling/Holder.hpp
parentae91a5e058da31e912c0768f516b2ef013c3b39e (diff)
downloadarmnn-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/Holder.hpp')
-rw-r--r--src/profiling/Holder.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/profiling/Holder.hpp b/src/profiling/Holder.hpp
index 612f8dc02e..10d393ff9b 100644
--- a/src/profiling/Holder.hpp
+++ b/src/profiling/Holder.hpp
@@ -23,7 +23,7 @@ public:
: m_CapturePeriod(0)
, m_CounterIds()
, m_ActiveBackends(){}
- CaptureData(uint32_t capturePeriod, std::vector<uint16_t>& counterIds, std::set<armnn::BackendId> activeBackends)
+ CaptureData(uint32_t capturePeriod, std::vector<uint16_t>& counterIds, std::set<std::string> activeBackends)
: m_CapturePeriod(capturePeriod)
, m_CounterIds(counterIds)
, m_ActiveBackends(activeBackends){}
@@ -34,18 +34,18 @@ public:
CaptureData& operator=(const CaptureData& other);
- void SetActiveBackends(const std::set<armnn::BackendId>& activeBackends);
+ void SetActiveBackends(const std::set<std::string>& activeBackends);
void SetCapturePeriod(uint32_t capturePeriod);
void SetCounterIds(const std::vector<uint16_t>& counterIds);
uint32_t GetCapturePeriod() const;
const std::vector<uint16_t>& GetCounterIds() const;
- const std::set<armnn::BackendId>& GetActiveBackends() const;
+ const std::set<std::string>& GetActiveBackends() const;
bool IsCounterIdInCaptureData(uint16_t counterId);
private:
uint32_t m_CapturePeriod;
std::vector<uint16_t> m_CounterIds;
- std::set<armnn::BackendId> m_ActiveBackends;
+ std::set<std::string> m_ActiveBackends;
};
class Holder
@@ -56,7 +56,7 @@ public:
CaptureData GetCaptureData() const;
void SetCaptureData(uint32_t capturePeriod,
const std::vector<uint16_t>& counterIds,
- const std::set<armnn::BackendId>& activeBackends);
+ const std::set<std::string>& activeBackends);
private:
mutable std::mutex m_CaptureThreadMutex;