21.02
|
#include <Threads.hpp>
#include <ProfilingUtils.hpp>
#include <armnn/utility/NumericCast.hpp>
#include <common/include/SwTrace.hpp>
#include <boost/test/unit_test.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 19 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionZeroValue | ) |
Definition at line 33 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionFixedValue | ) |
Definition at line 49 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestInvalidLabel | ) |
Definition at line 65 of file TimelinePacketTests.cpp.
References armnn::profiling::Error, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestSingleConstructionOfData | ) |
Definition at line 81 of file TimelinePacketTests.cpp.
References 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 123 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketZeroBufferSizeTest | ) |
Definition at line 143 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketSmallBufferSizeTest | ) |
Definition at line 165 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, armnn::numeric_cast(), and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketInvalidRelationTest | ) |
Definition at line 188 of file TimelinePacketTests.cpp.
References armnn::numeric_cast(), and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketTestDataConstruction | ) |
Definition at line 212 of file TimelinePacketTests.cpp.
References 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 269 of file TimelinePacketTests.cpp.
References 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 325 of file TimelinePacketTests.cpp.
References 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 381 of file TimelinePacketTests.cpp.
References 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 437 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestBufferExhausted | ) |
Definition at line 447 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestFullConstruction | ) |
Definition at line 459 of file TimelinePacketTests.cpp.
References armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint8(), armnn::profiling::ThreadIdSize, armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestNoBuffer | ) |
Definition at line 583 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithZeroBufferSize | ) |
Definition at line 595 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithFixedBufferSize | ) |
Definition at line 609 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestFullConstructionOfData | ) |
Definition at line 623 of file TimelinePacketTests.cpp.
References 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 649 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionZeroValue | ) |
Definition at line 663 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionFixedValue | ) |
Definition at line 679 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestFullConstructionOfData | ) |
Definition at line 695 of file TimelinePacketTests.cpp.
References 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 728 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnnUtils::Threads::GetCurrentThreadId(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionZeroValue | ) |
Definition at line 744 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnnUtils::Threads::GetCurrentThreadId(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionFixedValue | ) |
Definition at line 762 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnnUtils::Threads::GetCurrentThreadId(), armnn::numeric_cast(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestFullConstructionOfData | ) |
Definition at line 780 of file TimelinePacketTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), armnnUtils::Threads::GetCurrentThreadId(), armnn::numeric_cast(), armnn::profiling::Ok, armnn::profiling::ReadBytes(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), armnn::profiling::ThreadIdSize, armnn::profiling::uint32_t_size, and armnn::profiling::WriteTimelineEventBinary().