aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.hpp
diff options
context:
space:
mode:
authorJim Flynn <jim.flynn@arm.com>2020-01-30 14:10:55 +0000
committerJim Flynn <jim.flynn@arm.com>2020-02-02 19:32:41 +0000
commit8e0c7a66efc8d61787c43cdaeab3754e2905f623 (patch)
tree37f0de44d4e012f4c24a831add7d7b2817571ac1 /src/profiling/ProfilingService.hpp
parent5e51cd803c7d926b2a9bd7c680c8d59fe100c2f2 (diff)
downloadarmnn-8e0c7a66efc8d61787c43cdaeab3754e2905f623.tar.gz
IVGCVSW-4394 Add CounterIdMap to Profiling Service
Change-Id: I416397a7855fe45319b4801252e141b78f0325f0 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/ProfilingService.hpp')
-rw-r--r--src/profiling/ProfilingService.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/profiling/ProfilingService.hpp b/src/profiling/ProfilingService.hpp
index 24748bb69b..9cf7545205 100644
--- a/src/profiling/ProfilingService.hpp
+++ b/src/profiling/ProfilingService.hpp
@@ -9,6 +9,7 @@
#include "CommandHandler.hpp"
#include "ConnectionAcknowledgedCommandHandler.hpp"
#include "CounterDirectory.hpp"
+#include "CounterIdMap.hpp"
#include "ICounterValues.hpp"
#include "PeriodicCounterCapture.hpp"
#include "PeriodicCounterSelectionCommandHandler.hpp"
@@ -61,12 +62,16 @@ public:
// Disconnects the profiling service from the external server
void Disconnect();
- // Getters for the profiling service state
const ICounterDirectory& GetCounterDirectory() const;
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();
+
+ // Getters for the profiling service state
bool IsProfilingEnabled();
// Setters for the profiling service state
@@ -105,6 +110,7 @@ private:
// Profiling service components
ExternalProfilingOptions m_Options;
CounterDirectory m_CounterDirectory;
+ CounterIdMap m_CounterIdMap;
IProfilingConnectionFactoryPtr m_ProfilingConnectionFactory;
IProfilingConnectionPtr m_ProfilingConnection;
ProfilingStateMachine m_StateMachine;