diff options
author | Jim Flynn <jim.flynn@arm.com> | 2022-03-10 22:57:47 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2022-03-12 12:43:35 +0000 |
commit | 6730fe9cbc195f054d697b25daba8516d70658e0 (patch) | |
tree | 712edb5d7dfbb1b1b2d91b70d4009c56164ef069 /src/profiling/test/ProfilingTestUtils.cpp | |
parent | 9265a88c0064dbcf5ad4694bbdcce1b335a394e6 (diff) | |
download | armnn-6730fe9cbc195f054d697b25daba8516d70658e0.tar.gz |
IVGCVSW-6842 Replace ARMNN_ASSERT with ARM_PIPE_ASSERT in profiling code
Change-Id: Ie982ae603b7fb2793baf921232d32ce43f46d444
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
Diffstat (limited to 'src/profiling/test/ProfilingTestUtils.cpp')
-rw-r--r-- | src/profiling/test/ProfilingTestUtils.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.cpp b/src/profiling/test/ProfilingTestUtils.cpp index ca322868fc..a6ec66da2f 100644 --- a/src/profiling/test/ProfilingTestUtils.cpp +++ b/src/profiling/test/ProfilingTestUtils.cpp @@ -10,12 +10,12 @@ #include <armnn/Descriptors.hpp> #include <armnn/profiling/ArmNNProfiling.hpp> -#include <armnn/utility/Assert.hpp> #include <Processes.hpp> #include <ProfilingService.hpp> #include <armnnUtils/Threads.hpp> +#include <common/include/Assert.hpp> #include <common/include/LabelsAndEventClasses.hpp> #include <common/include/NumericCast.hpp> @@ -78,7 +78,7 @@ void VerifyTimelineHeaderBinary(const unsigned char* readableData, unsigned int& offset, uint32_t packetDataLength) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -107,7 +107,7 @@ ProfilingGuid VerifyTimelineLabelBinaryPacketData(Optional<ProfilingGuid> guid, const unsigned char* readableData, unsigned int& offset) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -153,7 +153,7 @@ void VerifyTimelineEventClassBinaryPacketData(ProfilingGuid guid, const unsigned char* readableData, unsigned int& offset) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -184,7 +184,7 @@ void VerifyTimelineRelationshipBinaryPacketData(ProfilingRelationshipType relati const unsigned char* readableData, unsigned int& offset) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); uint32_t relationshipTypeUint = 0; switch (relationshipType) @@ -274,7 +274,7 @@ ProfilingGuid VerifyTimelineEntityBinaryPacketData(Optional<ProfilingGuid> guid, const unsigned char* readableData, unsigned int& offset) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); @@ -310,7 +310,7 @@ ProfilingGuid VerifyTimelineEventBinaryPacket(Optional<uint64_t> timestamp, const unsigned char* readableData, unsigned int& offset) { - ARMNN_ASSERT(readableData); + ARM_PIPE_ASSERT(readableData); // Utils unsigned int uint32_t_size = sizeof(uint32_t); |