diff options
author | Jim Flynn <jim.flynn@arm.com> | 2020-02-02 12:52:59 +0000 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2020-02-03 14:51:47 +0000 |
commit | 9789702c0b276ca9518e590f30465da7e76a940f (patch) | |
tree | 08f3090bb8e22e84349253b8c924d626742f02f0 /src/profiling/ProfilingService.hpp | |
parent | 8e0c7a66efc8d61787c43cdaeab3754e2905f623 (diff) | |
download | armnn-9789702c0b276ca9518e590f30465da7e76a940f.tar.gz |
IVGCVSW-4393 Register backend counters
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I419ecc2fce4b7e0fcaeb6d1f9cb687c0b660125d
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingService.hpp')
-rw-r--r-- | src/profiling/ProfilingService.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp index 9cf7545205..e510589caa 100644 --- a/src/profiling/ProfilingService.hpp +++ b/src/profiling/ProfilingService.hpp @@ -10,6 +10,7 @@ #include "ConnectionAcknowledgedCommandHandler.hpp" #include "CounterDirectory.hpp" #include "CounterIdMap.hpp" +#include "ICounterRegistry.hpp" #include "ICounterValues.hpp" #include "PeriodicCounterCapture.hpp" #include "PeriodicCounterSelectionCommandHandler.hpp" @@ -63,13 +64,14 @@ public: void Disconnect(); const ICounterDirectory& GetCounterDirectory() const; + ICounterRegistry& GetCounterRegistry(); ProfilingState GetCurrentState() const; bool IsCounterRegistered(uint16_t counterUid) const override; uint32_t GetCounterValue(uint16_t counterUid) const override; uint16_t GetCounterCount() const override; // counter global/backend mapping functions const ICounterMappings& GetCounterMappings() const; - IRegisterCounterMapping& GetCounterMappingRegistrar(); + IRegisterCounterMapping& GetCounterMappingRegistry(); // Getters for the profiling service state bool IsProfilingEnabled(); |