ArmNN
NotReleased
|
#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, std::thread::id threadId, uint64_t profilingGuid) override |
Create and write a TimelineEventBinaryPacket from the parameters to the buffer. More... | |
void | SendTimelineEventClassBinaryPacket (uint64_t profilingGuid) 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) 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::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(), MAX_METADATA_PACKET_LENGTH, and IBufferManager::Reserve().
Referenced by SendTimelinePacket::SendTimelineMessageDirectoryPackage(), and SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEntityBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 51 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEntityBinaryPacket().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEventBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 57 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEventBinaryPacket().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineEventClassBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 67 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineEventClassBinaryPacket().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineLabelBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 73 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 92 of file SendTimelinePacket.cpp.
References CHECK_LOCATION, SendTimelinePacket::Commit(), armnn::profiling::Ok, and armnn::profiling::WriteTimelineMessageDirectoryPackage().
Referenced by SendTimelinePacket::SendTimelinePacket().
|
overridevirtual |
Create and write a TimelineRelationshipBinaryPacket from the parameters to the buffer.
Implements ISendTimelinePacket.
Definition at line 80 of file SendTimelinePacket.cpp.
References armnn::profiling::WriteTimelineRelationshipBinaryPacket().
Referenced by SendTimelinePacket::SendTimelinePacket().