From 4c9ed1d974657b8b32c8a86239c105ca54b30be5 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Sun, 23 Jan 2022 23:57:20 +0000 Subject: IVGCVSW-6708 Break Profiling Dependence on IRuntime ExternalProfilingOptions Change-Id: I30a46f3368bbbf33019eac4fa1245f6ff69deacd Signed-off-by: Jim Flynn --- src/profiling/test/ProfilingTestUtils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/profiling/test/ProfilingTestUtils.cpp') diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp index 51f27d4387..a03a3ba28a 100644 --- a/src/profiling/test/ProfilingTestUtils.cpp +++ b/src/profiling/test/ProfilingTestUtils.cpp @@ -3,6 +3,7 @@ // SPDX-License-Identifier: MIT // +#include "ProfilingOptionsConverter.hpp" #include "ProfilingTestUtils.hpp" #include "ProfilingUtils.hpp" @@ -369,7 +370,8 @@ void VerifyPostOptimisationStructureTestImpl(armnn::BackendId backendId) options.m_ProfilingOptions.m_EnableProfiling = true; options.m_ProfilingOptions.m_TimelineEnabled = true; armnn::RuntimeImpl runtime(options); - GetProfilingService(&runtime).ResetExternalProfilingOptions(options.m_ProfilingOptions, false); + GetProfilingService(&runtime).ResetExternalProfilingOptions( + ConvertExternalProfilingOptions(options.m_ProfilingOptions), false); profiling::ProfilingServiceRuntimeHelper profilingServiceHelper(GetProfilingService(&runtime)); profilingServiceHelper.ForceTransitionToState(ProfilingState::NotConnected); -- cgit v1.2.1