21.11
|
#include <SendTimelinePacket.hpp>
Public Member Functions | |
SendTimelinePacket (IBufferManager &bufferManager) | |
void | Commit () override |
Commits the current buffer and reset the member variables. More... | |
void | SendTimelineEntityBinaryPacket (uint64_t profilingGuid) override |
Create and write a TimelineEntityBinaryPacket from the parameters to the buffer. More... | |
void | SendTimelineEventBinaryPacket (uint64_t timestamp, int threadId, uint64_t profilingGuid) override |
Create and write a TimelineEventBinaryPacket from the parameters to the buffer. More... | |
void | SendTimelineEventClassBinaryPacket (uint64_t profilingGuid, uint64_t nameGuid) override |
Create and write a TimelineEventClassBinaryPacket from the parameters to the buffer. More... | |
void | SendTimelineLabelBinaryPacket (uint64_t profilingGuid, const std::string &label) override |
Create and write a TimelineLabelBinaryPacket from the parameters to the buffer. More... | |
void | SendTimelineMessageDirectoryPackage () override |
Create and write a TimelineMessageDirectoryPackage in the buffer. More... | |
virtual void | SendTimelineRelationshipBinaryPacket (ProfilingRelationshipType relationshipType, uint64_t relationshipGuid, uint64_t headGuid, uint64_t tailGuid, uint64_t attributeGuid) override |
Create and write a TimelineRelationshipBinaryPacket from the parameters to the buffer. More... | |
Public Member Functions inherited from ISendTimelinePacket | |
virtual | ~ISendTimelinePacket () |
Definition at line 22 of file SendTimelinePacket.hpp.
|
inline |
Definition at line 25 of file SendTimelinePacket.hpp.
References ARMNN_ASSERT, armnn::profiling::BufferExhaustion, CHECK_LOCATION, SendTimelinePacket::Commit(), armnn::profiling::Error, SendTimelinePacket::SendTimelineEntityBinaryPacket(), SendTimelinePacket::SendTimelineEventBinaryPacket(), SendTimelinePacket::SendTimelineEventClassBinaryPacket(), SendTimelinePacket::SendTimelineLabelBinaryPacket(), SendTimelinePacket::SendTimelineMessageDirectoryPackage(), and SendTimelinePacket::SendTimelineRelationshipBinaryPacket().
|
overridevirtual |
Commits the current buffer and reset the member variables.
Implements ISendTimelinePacket.
Definition at line 14 of file SendTimelinePacket.cpp.
References armnn::profiling::BufferExhaustion, CHECK_LOCATION, IBufferManager::Commit(), armnn::profiling::CreateTimelinePacketHeader(), MAX_METADATA_PACKET_LENGTH, IBufferManager::Reserve(), and armnn::profiling::WriteUint32().
Referenced by SendTimelinePacket::SendTimelineMessageDirectoryPackage(), and SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEntityBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 85 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEntityBinary().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEventBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 91 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEventBinary().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEventClassBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 101 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEventClassBinary().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineLabelBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 108 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineLabelBinaryPacket().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineMessageDirectoryPackage in the buffer.
Implements ISendTimelinePacket.
Definition at line 129 of file SendTimelinePacket.cpp.
References CHECK_LOCATION, SendTimelinePacket::Commit(), armnn::profiling::Ok, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
Referenced by ActivateTimelineReportingCommandHandler::operator()(), and SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineRelationshipBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 115 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineRelationshipBinary().
Referenced by SendTimelinePacket::SendTimelinePacket().