20.02
|
#include <TimelineCaptureCommandHandler.hpp>
#include <TimelineDirectoryCaptureCommandHandler.hpp>
#include <TimelineDecoder.hpp>
#include <CommandHandlerFunctor.hpp>
#include <ProfilingService.hpp>
#include <PacketBuffer.hpp>
#include <TimelinePacketWriterFactory.hpp>
#include <boost/test/test_tools.hpp>
#include <boost/test/unit_test_suite.hpp>
Go to the source code of this file.
Functions | |
void | SendTimelinePacketToCommandHandler (const unsigned char *packetBuffer, profiling::CommandHandlerFunctor &CommandHandler) |
void | PushEntity (TimelineDecoder::Model &model, const ITimelineDecoder::Entity entity) |
void | PushEventClass (TimelineDecoder::Model &model, const ITimelineDecoder::EventClass eventClass) |
void | PushEvent (TimelineDecoder::Model &model, const ITimelineDecoder::Event event) |
void | PushLabel (TimelineDecoder::Model &model, const ITimelineDecoder::Label label) |
void | PushRelationship (TimelineDecoder::Model &model, const ITimelineDecoder::Relationship relationship) |
BOOST_AUTO_TEST_CASE (TimelineDirectoryTest) | |
BOOST_AUTO_TEST_CASE (TimelineCaptureTest) | |
BOOST_AUTO_TEST_CASE (TimelineCaptureTestMultipleStringsInBuffer) | |
BOOST_AUTO_TEST_CASE | ( | TimelineDirectoryTest | ) |
Definition at line 71 of file TimelineTests.cpp.
References BOOST_CHECK(), Version::GetEncodedValue(), BufferManager::GetReadableBuffer(), TimelinePacketWriterFactory::GetSendTimelinePacket(), SwTraceMessage::m_ArgNames, SwTraceMessage::m_ArgTypes, SwTraceMessage::m_Id, SwTraceMessage::m_Name, SwTraceMessage::m_UiName, armnn::profiling::ReadSwTraceMessage(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint8(), PacketVersionResolver::ResolvePacketVersion(), SendTimelinePacketToCommandHandler(), and armnn::profiling::uint32_t_size.
BOOST_AUTO_TEST_CASE | ( | TimelineCaptureTest | ) |
Definition at line 140 of file TimelineTests.cpp.
References BOOST_CHECK(), armnn::profiling::DataLink, ITimelineDecoder::DataLink, Version::GetEncodedValue(), TimelineDecoder::GetModel(), BufferManager::GetReadableBuffer(), TimelinePacketWriterFactory::GetSendTimelinePacket(), TimelineDecoder::Model::m_Entities, TimelineDecoder::Model::m_EventClasses, TimelineDecoder::Model::m_Events, TimelineDecoder::Model::m_Labels, TimelineDecoder::Model::m_Relationships, PushEntity(), PushEvent(), PushEventClass(), PushLabel(), PushRelationship(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), PacketVersionResolver::ResolvePacketVersion(), SendTimelinePacketToCommandHandler(), TimelineDecoder::SetEntityCallback(), TimelineDecoder::SetEventCallback(), TimelineDecoder::SetEventClassCallback(), TimelineDecoder::SetLabelCallback(), TimelineDecoder::SetRelationshipCallback(), and armnn::profiling::WriteBytes().
BOOST_AUTO_TEST_CASE | ( | TimelineCaptureTestMultipleStringsInBuffer | ) |
Definition at line 251 of file TimelineTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), BOOST_CHECK(), armnn::profiling::DataLink, ITimelineDecoder::DataLink, Version::GetEncodedValue(), TimelineDecoder::GetModel(), BufferManager::GetReadableBuffer(), TimelinePacketWriterFactory::GetSendTimelinePacket(), TimelineDecoder::Model::m_Entities, TimelineDecoder::Model::m_EventClasses, TimelineDecoder::Model::m_Events, TimelineDecoder::Model::m_Labels, TimelineDecoder::Model::m_Relationships, PushEntity(), PushEvent(), PushEventClass(), PushLabel(), PushRelationship(), armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), PacketVersionResolver::ResolvePacketVersion(), SendTimelinePacketToCommandHandler(), TimelineDecoder::SetEntityCallback(), TimelineDecoder::SetEventCallback(), TimelineDecoder::SetEventClassCallback(), TimelineDecoder::SetLabelCallback(), TimelineDecoder::SetRelationshipCallback(), and armnn::profiling::WriteBytes().
void PushEntity | ( | TimelineDecoder::Model & | model, |
const ITimelineDecoder::Entity | entity | ||
) |
Definition at line 46 of file TimelineTests.cpp.
References TimelineDecoder::Model::m_Entities.
Referenced by BOOST_AUTO_TEST_CASE().
void PushEvent | ( | TimelineDecoder::Model & | model, |
const ITimelineDecoder::Event | event | ||
) |
Definition at line 56 of file TimelineTests.cpp.
References TimelineDecoder::Model::m_Events.
Referenced by BOOST_AUTO_TEST_CASE().
void PushEventClass | ( | TimelineDecoder::Model & | model, |
const ITimelineDecoder::EventClass | eventClass | ||
) |
Definition at line 51 of file TimelineTests.cpp.
References TimelineDecoder::Model::m_EventClasses.
Referenced by BOOST_AUTO_TEST_CASE().
void PushLabel | ( | TimelineDecoder::Model & | model, |
const ITimelineDecoder::Label | label | ||
) |
Definition at line 61 of file TimelineTests.cpp.
References TimelineDecoder::Model::m_Labels.
Referenced by BOOST_AUTO_TEST_CASE().
void PushRelationship | ( | TimelineDecoder::Model & | model, |
const ITimelineDecoder::Relationship | relationship | ||
) |
Definition at line 66 of file TimelineTests.cpp.
References TimelineDecoder::Model::m_Relationships.
Referenced by BOOST_AUTO_TEST_CASE().
void SendTimelinePacketToCommandHandler | ( | const unsigned char * | packetBuffer, |
profiling::CommandHandlerFunctor & | CommandHandler | ||
) |
Definition at line 23 of file TimelineTests.cpp.
References BOOST_CHECK(), armnn::profiling::ReadUint32(), and armnn::profiling::uint32_t_size.
Referenced by BOOST_AUTO_TEST_CASE().