20.02
|
#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 (TimelineLabelPacketTestNoBuffer) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTestBufferExhaustionZeroValue) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTestBufferExhaustionFixedValue) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTestInvalidLabel) | |
BOOST_AUTO_TEST_CASE (TimelineLabelPacketTestSingleConstructionOfData) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketNullBufferTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketZeroBufferSizeTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketSmallBufferSizeTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketInvalidRelationTest) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketTestDataConstruction) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketExecutionLinkTestDataConstruction) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketDataLinkTestDataConstruction) | |
BOOST_AUTO_TEST_CASE (TimelineRelationshipPacketLabelLinkTestDataConstruction) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTestNoBuffer) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTestBufferExhausted) | |
BOOST_AUTO_TEST_CASE (TimelineMessageDirectoryPacketTestFullConstruction) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTestNoBuffer) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTestBufferExhaustedWithZeroBufferSize) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTestBufferExhaustedWithFixedBufferSize) | |
BOOST_AUTO_TEST_CASE (TimelineEntityPacketTestFullConstructionOfData) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTestNoBuffer) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTestBufferExhaustionZeroValue) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTestBufferExhaustionFixedValue) | |
BOOST_AUTO_TEST_CASE (TimelineEventClassTestFullConstructionOfData) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTestNoBuffer) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTestBufferExhaustionZeroValue) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTestBufferExhaustionFixedValue) | |
BOOST_AUTO_TEST_CASE (TimelineEventPacketTestFullConstructionOfData) | |
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestNoBuffer | ) |
Definition at line 15 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionZeroValue | ) |
Definition at line 29 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionFixedValue | ) |
Definition at line 45 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestInvalidLabel | ) |
Definition at line 61 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::Error, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestSingleConstructionOfData | ) |
Definition at line 77 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), 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 119 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketZeroBufferSizeTest | ) |
Definition at line 137 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketSmallBufferSizeTest | ) |
Definition at line 157 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, armnn::numeric_cast(), and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketInvalidRelationTest | ) |
Definition at line 178 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketTestDataConstruction | ) |
Definition at line 199 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::RetentionLink, armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketExecutionLinkTestDataConstruction | ) |
Definition at line 249 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::ExecutionLink, armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketDataLinkTestDataConstruction | ) |
Definition at line 298 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::DataLink, armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketLabelLinkTestDataConstruction | ) |
Definition at line 347 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::LabelLink, armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestNoBuffer | ) |
Definition at line 396 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestBufferExhausted | ) |
Definition at line 406 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestFullConstruction | ) |
Definition at line 418 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint8(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestNoBuffer | ) |
Definition at line 543 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithZeroBufferSize | ) |
Definition at line 555 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithFixedBufferSize | ) |
Definition at line 569 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestFullConstructionOfData | ) |
Definition at line 583 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestNoBuffer | ) |
Definition at line 609 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionZeroValue | ) |
Definition at line 621 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionFixedValue | ) |
Definition at line 635 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestFullConstructionOfData | ) |
Definition at line 649 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestNoBuffer | ) |
Definition at line 675 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionZeroValue | ) |
Definition at line 691 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionFixedValue | ) |
Definition at line 709 of file TimelinePacketTests.cpp.
References BOOST_CHECK(), armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestFullConstructionOfData | ) |
Definition at line 727 of file TimelinePacketTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), BOOST_CHECK(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadBytes(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEventBinary().