From 8e0c7a66efc8d61787c43cdaeab3754e2905f623 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Thu, 30 Jan 2020 14:10:55 +0000 Subject: IVGCVSW-4394 Add CounterIdMap to Profiling Service Change-Id: I416397a7855fe45319b4801252e141b78f0325f0 Signed-off-by: Jim Flynn --- src/profiling/ProfilingService.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/profiling/ProfilingService.hpp') 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; -- cgit v1.2.1