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/armnn/Runtime.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/armnn/Runtime.hpp') diff --git a/src/armnn/Runtime.hpp b/src/armnn/Runtime.hpp index 2ad3c9633c..477b1169b1 100644 --- a/src/armnn/Runtime.hpp +++ b/src/armnn/Runtime.hpp @@ -14,6 +14,8 @@ #include +#include + #include #include @@ -80,6 +82,8 @@ public: private: friend void RuntimeLoadedNetworksReserve(armnn::Runtime* runtime); // See RuntimeTests.cpp + friend profiling::ProfilingService& GetProfilingService(armnn::Runtime* runtime); // See RuntimeTests.cpp + int GenerateNetworkId(); LoadedNetwork* GetLoadedNetworkPtr(NetworkId networkId) const; @@ -109,6 +113,9 @@ private: /// List of dynamic backends loaded in the runtime std::vector m_DynamicBackends; + + /// Profiling Service Instance + profiling::ProfilingService m_ProfilingService; }; } // namespace armnn -- cgit v1.2.1