20.08
|
#include <Threads.hpp>
#include <ProfilingUtils.hpp>
#include <common/include/SwTrace.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 18 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionZeroValue | ) |
Definition at line 32 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestBufferExhaustionFixedValue | ) |
Definition at line 48 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestInvalidLabel | ) |
Definition at line 64 of file TimelinePacketTests.cpp.
References armnn::profiling::Error, armnn::numeric_cast(), and armnn::profiling::WriteTimelineLabelBinaryPacket().
BOOST_AUTO_TEST_CASE | ( | TimelineLabelPacketTestSingleConstructionOfData | ) |
Definition at line 80 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 122 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketZeroBufferSizeTest | ) |
Definition at line 142 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::profiling::DataLink, and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketSmallBufferSizeTest | ) |
Definition at line 164 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 187 of file TimelinePacketTests.cpp.
References armnn::numeric_cast(), and armnn::profiling::WriteTimelineRelationshipBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineRelationshipPacketTestDataConstruction | ) |
Definition at line 211 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 268 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 324 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 380 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 436 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestBufferExhausted | ) |
Definition at line 446 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
BOOST_AUTO_TEST_CASE | ( | TimelineMessageDirectoryPacketTestFullConstruction | ) |
Definition at line 458 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 582 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithZeroBufferSize | ) |
Definition at line 594 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestBufferExhaustedWithFixedBufferSize | ) |
Definition at line 608 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEntityBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEntityPacketTestFullConstructionOfData | ) |
Definition at line 622 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 648 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionZeroValue | ) |
Definition at line 662 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestBufferExhaustionFixedValue | ) |
Definition at line 678 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnn::numeric_cast(), and armnn::profiling::WriteTimelineEventClassBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventClassTestFullConstructionOfData | ) |
Definition at line 694 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 727 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnnUtils::Threads::GetCurrentThreadId(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionZeroValue | ) |
Definition at line 743 of file TimelinePacketTests.cpp.
References armnn::profiling::BufferExhaustion, armnnUtils::Threads::GetCurrentThreadId(), and armnn::profiling::WriteTimelineEventBinary().
BOOST_AUTO_TEST_CASE | ( | TimelineEventPacketTestBufferExhaustionFixedValue | ) |
Definition at line 761 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 779 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().