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/PeriodicCounterCapture.hpp | |
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/PeriodicCounterCapture.hpp')
-rw-r--r-- | src/profiling/PeriodicCounterCapture.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profiling/PeriodicCounterCapture.hpp b/src/profiling/PeriodicCounterCapture.hpp index c442f425d4..9a678a85ab 100644 --- a/src/profiling/PeriodicCounterCapture.hpp +++ b/src/profiling/PeriodicCounterCapture.hpp @@ -32,8 +32,8 @@ public: ISendCounterPacket& packet, IReadCounterValues& readCounterValue, const ICounterMappings& counterIdMap, - const std::unordered_map<armnn::BackendId, - std::shared_ptr<IBackendProfilingContext>>& backendProfilingContexts) + const std::unordered_map<std::string, + std::shared_ptr<IBackendProfilingContext>>& backendProfilingContexts) : m_CaptureDataHolder(data) , m_IsRunning(false) , m_KeepRunning(false) @@ -52,7 +52,7 @@ private: CaptureData ReadCaptureData(); void Capture(IReadCounterValues& readCounterValues); void DispatchPeriodicCounterCapturePacket( - const armnn::BackendId& backendId, const std::vector<Timestamp>& timestampValues); + const std::string& backendId, const std::vector<Timestamp>& timestampValues); const Holder& m_CaptureDataHolder; bool m_IsRunning; @@ -61,7 +61,7 @@ private: IReadCounterValues& m_ReadCounterValues; ISendCounterPacket& m_SendCounterPacket; const ICounterMappings& m_CounterIdMap; - const std::unordered_map<armnn::BackendId, + const std::unordered_map<std::string, std::shared_ptr<IBackendProfilingContext>>& m_BackendProfilingContexts; }; |