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.cpp | |
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.cpp')
-rw-r--r-- | src/profiling/ProfilingService.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp index b06f149486..926e54a5bd 100644 --- a/src/profiling/ProfilingService.cpp +++ b/src/profiling/ProfilingService.cpp @@ -186,6 +186,11 @@ const ICounterDirectory& ProfilingService::GetCounterDirectory() const return m_CounterDirectory; } +ICounterRegistry& ProfilingService::GetCounterRegistry() +{ + return m_CounterDirectory; +} + ProfilingState ProfilingService::GetCurrentState() const { return m_StateMachine.GetCurrentState(); @@ -214,7 +219,7 @@ const ICounterMappings& ProfilingService::GetCounterMappings() const return m_CounterIdMap; } -IRegisterCounterMapping& ProfilingService::GetCounterMappingRegistrar() +IRegisterCounterMapping& ProfilingService::GetCounterMappingRegistry() { return m_CounterIdMap; } @@ -381,6 +386,7 @@ void ProfilingService::Reset() m_CounterIndex.clear(); m_CounterValues.clear(); m_CounterDirectory.Clear(); + m_CounterIdMap.Reset(); m_BufferManager.Reset(); // ...finally reset the profiling state machine |