20.02
|
#include <TimelineCaptureCommandHandler.hpp>
Public Member Functions | |
TimelineCaptureCommandHandler (uint32_t familyId, uint32_t packetId, uint32_t version, ITimelineDecoder &timelineDecoder, uint32_t threadId_size) | |
void | operator() (const armnn::profiling::Packet &packet) override |
void | ReadLabel (const unsigned char *data, uint32_t &offset) |
void | ReadEntity (const unsigned char *data, uint32_t &offset) |
void | ReadEventClass (const unsigned char *data, uint32_t &offset) |
void | ReadRelationship (const unsigned char *data, uint32_t &offset) |
void | ReadEvent (const unsigned char *data, uint32_t &offset) |
Public Member Functions inherited from CommandHandlerFunctor | |
CommandHandlerFunctor (uint32_t familyId, uint32_t packetId, uint32_t version) | |
uint32_t | GetFamilyId () const |
uint32_t | GetPacketId () const |
uint32_t | GetVersion () const |
virtual | ~CommandHandlerFunctor () |
Definition at line 20 of file TimelineCaptureCommandHandler.hpp.
|
inline |
Definition at line 30 of file TimelineCaptureCommandHandler.hpp.
References TimelineCaptureCommandHandler::operator()(), TimelineCaptureCommandHandler::ReadEntity(), TimelineCaptureCommandHandler::ReadEvent(), TimelineCaptureCommandHandler::ReadEventClass(), TimelineCaptureCommandHandler::ReadLabel(), and TimelineCaptureCommandHandler::ReadRelationship().
|
overridevirtual |
Implements CommandHandlerFunctor.
Definition at line 128 of file TimelineCaptureCommandHandler.cpp.
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadEntity | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 71 of file TimelineCaptureCommandHandler.cpp.
References ITimelineDecoder::CreateEntity(), ITimelineDecoder::Entity::m_Guid, and armnn::profiling::ReadUint64().
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadEvent | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 105 of file TimelineCaptureCommandHandler.cpp.
References ITimelineDecoder::CreateEvent(), ITimelineDecoder::Event::m_TimeStamp, armnn::profiling::ReadUint32(), and armnn::profiling::ReadUint64().
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadEventClass | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 79 of file TimelineCaptureCommandHandler.cpp.
References ITimelineDecoder::CreateEventClass(), ITimelineDecoder::EventClass::m_Guid, and armnn::profiling::ReadUint64().
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadLabel | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 49 of file TimelineCaptureCommandHandler.cpp.
References ITimelineDecoder::CreateLabel(), ITimelineDecoder::Label::m_Guid, ITimelineDecoder::Label::m_Name, armnn::profiling::ReadUint32(), armnn::profiling::ReadUint64(), and armnn::profiling::ReadUint8().
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadRelationship | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 87 of file TimelineCaptureCommandHandler.cpp.
References ITimelineDecoder::CreateRelationship(), ITimelineDecoder::Relationship::m_Guid, ITimelineDecoder::Relationship::m_HeadGuid, ITimelineDecoder::Relationship::m_RelationshipType, ITimelineDecoder::Relationship::m_TailGuid, armnn::profiling::ReadUint32(), and armnn::profiling::ReadUint64().
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().