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/ProfilingService.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/ProfilingService.hpp')
-rw-r--r-- | src/profiling/ProfilingService.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp index a4b02c10ad..7919c3019a 100644 --- a/src/profiling/ProfilingService.hpp +++ b/src/profiling/ProfilingService.hpp @@ -47,7 +47,7 @@ public: using IProfilingConnectionPtr = std::unique_ptr<IProfilingConnection>; using CounterIndices = std::vector<std::atomic<uint32_t>*>; using CounterValues = std::list<std::atomic<uint32_t>>; - using BackendProfilingContext = std::unordered_map<armnn::BackendId, + using BackendProfilingContext = std::unordered_map<std::string, std::shared_ptr<IBackendProfilingContext>>; ProfilingService(armnn::Optional<IReportStructure&> reportStructure = armnn::EmptyOptional()) @@ -154,7 +154,7 @@ public: void Disconnect(); // Store a profiling context returned from a backend that support profiling. - void AddBackendProfilingContext(const armnn::BackendId backendId, + void AddBackendProfilingContext(const std::string& backendId, std::shared_ptr<IBackendProfilingContext> profilingContext) override; // Enable the recording of timeline events and entities @@ -177,7 +177,7 @@ public: CaptureData GetCaptureData() override; void SetCaptureData(uint32_t capturePeriod, const std::vector<uint16_t>& counterIds, - const std::set<armnn::BackendId>& activeBackends); + const std::set<std::string>& activeBackends); // Setters for the profiling service state void SetCounterValue(uint16_t counterUid, uint32_t value) override; |