aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/test/ProfilingTestUtils.hpp
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2020-07-01 18:09:39 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2020-07-06 17:57:20 +0000
commitf78c767d229a9fc7a692fe4e7b71e36710966615 (patch)
treea232160d2f21a64a66e065e923e0bc77cb1f74ec /src/profiling/test/ProfilingTestUtils.hpp
parent06deacd58fbd4fbfd4884ab8024ef736f4f7105b (diff)
downloadarmnn-f78c767d229a9fc7a692fe4e7b71e36710966615.tar.gz
IVGCVSW-4770 Fix segmentation fault in FileOnlyProfilingDecoratorTests
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I5725aa418b50fc14ce4e6638fe29a74d762cc304
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.hpp')
-rw-r--r--src/profiling/test/ProfilingTestUtils.hpp7
1 files changed, 3 insertions, 4 deletions
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<BackendId> GetSuitableBackendRegistered();
+
inline unsigned int OffsetToNextWord(unsigned int numberOfBytes);
void VerifyTimelineHeaderBinary(const unsigned char* readableData,
@@ -57,10 +60,6 @@ ProfilingGuid VerifyTimelineEventBinaryPacket(Optional<uint64_t> timestamp,
void VerifyPostOptimisationStructureTestImpl(armnn::BackendId backendId);
-// returns true if a CpuRef, CpuAcc or GpuAcc
-// backend is registered
-bool HasSuitableBackendRegistered();
-
bool CompareOutput(std::vector<std::string> output, std::vector<std::string> expectedOutput);
namespace armnn