20.05
|
#include <TimelineCaptureCommandHandler.hpp>
Public Member Functions | |
TimelineCaptureCommandHandler (uint32_t familyId, uint32_t packetId, uint32_t version, ITimelineDecoder &timelineDecoder, uint32_t threadIdSize=0) | |
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) |
void | SetThreadIdSize (uint32_t size) |
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 void | operator() (const Packet &packet)=0 |
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(), TimelineCaptureCommandHandler::ReadRelationship(), and TimelineCaptureCommandHandler::SetThreadIdSize().
|
override |
Definition at line 141 of file TimelineCaptureCommandHandler.cpp.
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().
void ReadEntity | ( | const unsigned char * | data, |
uint32_t & | offset | ||
) |
Definition at line 79 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 113 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 87 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 57 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 95 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().
void SetThreadIdSize | ( | uint32_t | size | ) |
Definition at line 136 of file TimelineCaptureCommandHandler.cpp.
Referenced by TimelineCaptureCommandHandler::TimelineCaptureCommandHandler().