ArmNN
NotReleased
|
#include <ProfilingUtils.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/numeric/conversion/cast.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTest1) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTest2) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTest3) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTest4) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTest5) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketNullBufferTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketZeroBufferSizeTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketSmallBufferSizeTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketInvalidRelationTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketExecutionLinkTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketDataLinkTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketLabelLinkTest) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTest1) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTest2) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTest3) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTest1) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTest2) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTest3) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTest4) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTest1) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTest2) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTest3) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTest4) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTest1) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTest2) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTest3) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTest4) | |
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTest1 | ) |
Definition at line 15 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTest2 | ) |
Definition at line 29 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTest3 | ) |
Definition at line 45 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTest4 | ) |
Definition at line 61 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Error, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTest5 | ) |
Definition at line 77 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketNullBufferTest | ) |
Definition at line 138 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketZeroBufferSizeTest | ) |
Definition at line 156 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketSmallBufferSizeTest | ) |
Definition at line 176 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketInvalidRelationTest | ) |
Definition at line 197 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketTest | ) |
Definition at line 218 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::RetentionLink, armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketExecutionLinkTest | ) |
Definition at line 286 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::ExecutionLink, armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketDataLinkTest | ) |
Definition at line 355 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::DataLink, armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketLabelLinkTest | ) |
Definition at line 424 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::LabelLink, armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTest1 | ) |
Definition at line 492 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTest2 | ) |
Definition at line 502 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTest3 | ) |
Definition at line 514 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint8(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTest1 | ) |
Definition at line 639 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTest2 | ) |
Definition at line 651 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTest3 | ) |
Definition at line 665 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTest4 | ) |
Definition at line 679 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEntityBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTest1 | ) |
Definition at line 724 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTest2 | ) |
Definition at line 736 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTest3 | ) |
Definition at line 750 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTest4 | ) |
Definition at line 764 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEventClassBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTest1 | ) |
Definition at line 809 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTest2 | ) |
Definition at line 825 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTest3 | ) |
Definition at line 843 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTest4 | ) |
Definition at line 861 of file TimelinePacketTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), BOOST_CHECK(), armnn::profiling::Ok, armnn::profiling::ReadBytes(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEventBinaryPacket().