From f78c767d229a9fc7a692fe4e7b71e36710966615 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Wed, 1 Jul 2020 18:09:39 +0100 Subject: IVGCVSW-4770 Fix segmentation fault in FileOnlyProfilingDecoratorTests Signed-off-by: Jan Eilers Change-Id: I5725aa418b50fc14ce4e6638fe29a74d762cc304 --- src/profiling/test/ProfilingTestUtils.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/profiling/test/ProfilingTestUtils.hpp') diff --git a/src/profiling/test/ProfilingTestUtils.hpp b/src/profiling/test/ProfilingTestUtils.hpp index a9a69218c7..8f138bb315 100644 --- a/src/profiling/test/ProfilingTestUtils.hpp +++ b/src/profiling/test/ProfilingTestUtils.hpp @@ -21,6 +21,9 @@ const static uint32_t bodyHeaderSize = 6; uint32_t GetStreamMetaDataPacketSize(); +/// Returns a vector of CpuRef, CpuAcc or GpuAcc backends if they where registered +std::vector GetSuitableBackendRegistered(); + inline unsigned int OffsetToNextWord(unsigned int numberOfBytes); void VerifyTimelineHeaderBinary(const unsigned char* readableData, @@ -57,10 +60,6 @@ ProfilingGuid VerifyTimelineEventBinaryPacket(Optional timestamp, void VerifyPostOptimisationStructureTestImpl(armnn::BackendId backendId); -// returns true if a CpuRef, CpuAcc or GpuAcc -// backend is registered -bool HasSuitableBackendRegistered(); - bool CompareOutput(std::vector output, std::vector expectedOutput); namespace armnn -- cgit v1.2.1