From 3184c907b2420e6c66485529f336251b2b62aecf Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 18 Mar 2020 10:57:30 +0000 Subject: IVGCVSW-4463 Change ProfilingService to a member of runtime from a singleton Signed-off-by: Sadik Armagan Change-Id: I345c39a10a4693a500aa1687d9a5cee76da791c3 --- src/profiling/RegisterBackendCounters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/profiling/RegisterBackendCounters.cpp') diff --git a/src/profiling/RegisterBackendCounters.cpp b/src/profiling/RegisterBackendCounters.cpp index 36f6106c00..035a2ca8a9 100644 --- a/src/profiling/RegisterBackendCounters.cpp +++ b/src/profiling/RegisterBackendCounters.cpp @@ -59,7 +59,7 @@ uint16_t RegisterBackendCounters::RegisterCounter(const uint16_t uid, counterSetUid); m_CurrentMaxGlobalCounterID = counterPtr->m_MaxCounterUid; // register mappings - IRegisterCounterMapping& counterIdMap = ProfilingService::Instance().GetCounterMappingRegistry(); + IRegisterCounterMapping& counterIdMap = m_ProfilingService.GetCounterMappingRegistry(); uint16_t globalCounterId = counterPtr->m_Uid; if (globalCounterId == counterPtr->m_MaxCounterUid) { -- cgit v1.2.1