From af947729dc2aa7cdb6d4a716e2edf307710a8155 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Wed, 2 Mar 2022 11:04:47 +0000 Subject: IVGCVSW-6811 replace ProfilingService includes with IProfilingService Change-Id: I00521756c8a19d10bfdc98c6ef4204c7f84901c6 Signed-off-by: Jim Flynn --- src/armnnTestUtils/TestUtils.cpp | 6 +++--- src/armnnTestUtils/TestUtils.hpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/armnnTestUtils') diff --git a/src/armnnTestUtils/TestUtils.cpp b/src/armnnTestUtils/TestUtils.cpp index 7c9fc909ac..a67eecfd03 100644 --- a/src/armnnTestUtils/TestUtils.cpp +++ b/src/armnnTestUtils/TestUtils.cpp @@ -56,9 +56,9 @@ ModelOptions& GetModelOptionsForTesting(IOptimizedNetwork* optNet) return optNet->pOptimizedNetworkImpl->GetModelOptions(); } -arm::pipe::ProfilingService& GetProfilingService(armnn::RuntimeImpl* runtime) +arm::pipe::IProfilingService& GetProfilingService(armnn::RuntimeImpl* runtime) { - return runtime->m_ProfilingService; + return *(runtime->m_ProfilingService.get()); } -} \ No newline at end of file +} diff --git a/src/armnnTestUtils/TestUtils.hpp b/src/armnnTestUtils/TestUtils.hpp index 5433d93332..9fea61b264 100644 --- a/src/armnnTestUtils/TestUtils.hpp +++ b/src/armnnTestUtils/TestUtils.hpp @@ -53,6 +53,6 @@ namespace armnn { Graph& GetGraphForTesting(IOptimizedNetwork* optNetPtr); ModelOptions& GetModelOptionsForTesting(IOptimizedNetwork* optNetPtr); -arm::pipe::ProfilingService& GetProfilingService(RuntimeImpl* runtime); +arm::pipe::IProfilingService& GetProfilingService(RuntimeImpl* runtime); -} // namespace armnn \ No newline at end of file +} // namespace armnn -- cgit v1.2.1