From ea41b57721b644b9350e14754d3ecdcfba87667f Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Thu, 19 Mar 2020 18:16:46 +0000 Subject: IVGCVSW-4582 Undefined reference to GetProfilingService causes failure in the Backends CI job * Enable the GetProfilingService() function to BackendProfilingTests and ProfilingTestUtils Signed-off-by: Sadik Armagan Change-Id: I32e3625db0f465883f2ec27fb7c2fad4e91b6306 --- src/armnn/test/TestUtils.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/armnn/test/TestUtils.cpp') diff --git a/src/armnn/test/TestUtils.cpp b/src/armnn/test/TestUtils.cpp index b0ed17e41a..8ef820b3d5 100644 --- a/src/armnn/test/TestUtils.cpp +++ b/src/armnn/test/TestUtils.cpp @@ -18,3 +18,13 @@ void Connect(armnn::IConnectableLayer* from, armnn::IConnectableLayer* to, const from->GetOutputSlot(fromIndex).Connect(to->GetInputSlot(toIndex)); from->GetOutputSlot(fromIndex).SetTensorInfo(tensorInfo); } + +namespace armnn +{ + +profiling::ProfilingService& GetProfilingService(armnn::Runtime* runtime) +{ + return runtime->m_ProfilingService; +} + +} \ No newline at end of file -- cgit v1.2.1