ArmNN
NotReleased
|
#include "../TimelineCaptureCommandHandler.hpp"
#include "../TimelineDirectoryCaptureCommandHandler.hpp"
#include "../ITimelineDecoder.h"
#include "../TimelineModel.h"
#include "TimelineTestFunctions.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) |
BOOST_AUTO_TEST_CASE (TimelineDirectoryTest) | |
BOOST_AUTO_TEST_CASE (TimelineCaptureTest) | |
BOOST_AUTO_TEST_CASE | ( | TimelineDirectoryTest | ) |
Definition at line 48 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 117 of file TimelineTests.cpp.
References BOOST_AUTO_TEST_SUITE_END(), BOOST_CHECK(), CreateModel(), DataLink, armnn::profiling::DataLink, DestroyModel(), ErrorCode_Success, Version::GetEncodedValue(), BufferManager::GetReadableBuffer(), TimelinePacketWriterFactory::GetSendTimelinePacket(), Model::m_Entities, Model::m_EventClasses, Model::m_Events, Entity::m_Guid, EventClass::m_Guid, Label::m_Guid, Relationship::m_Guid, Relationship::m_HeadGuid, Model::m_Labels, Label::m_Name, Model::m_Relationships, Relationship::m_RelationshipType, Relationship::m_TailGuid, PushEntity(), PushEvent(), PushEventClass(), PushLabel(), PushRelationship(), armnn::profiling::ReadBytes(), PacketVersionResolver::ResolvePacketVersion(), SendTimelinePacketToCommandHandler(), SetEntityCallback(), SetEventCallback(), SetEventClassCallback(), SetLabelCallback(), and SetRelationshipCallback().
void SendTimelinePacketToCommandHandler | ( | const unsigned char * | packetBuffer, |
profiling::CommandHandlerFunctor & | CommandHandler | ||
) |
Definition at line 24 of file TimelineTests.cpp.
References BOOST_CHECK(), armnn::profiling::ReadUint32(), and armnn::profiling::uint32_t_size.
Referenced by BOOST_AUTO_TEST_CASE().