20.02
|
#include <TimelineUtilityMethods.hpp>
Static Public Member Functions | |
static std::unique_ptr< TimelineUtilityMethods > | GetTimelineUtils () |
Definition at line 17 of file TimelineUtilityMethods.hpp.
|
inline |
Definition at line 25 of file TimelineUtilityMethods.hpp.
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
|
inline |
Definition at line 28 of file TimelineUtilityMethods.hpp.
References TimelineUtilityMethods::CreateConnectionRelationship(), TimelineUtilityMethods::CreateNamedTypedChildEntity(), TimelineUtilityMethods::CreateNamedTypedEntity(), TimelineUtilityMethods::CreateRelationship(), TimelineUtilityMethods::CreateTypedEntity(), TimelineUtilityMethods::DeclareLabel(), TimelineUtilityMethods::MarkEntityWithLabel(), TimelineUtilityMethods::MarkEntityWithType(), TimelineUtilityMethods::NameEntity(), TimelineUtilityMethods::operator=(), TimelineUtilityMethods::RecordEndOfLifeEvent(), TimelineUtilityMethods::RecordEvent(), TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent(), TimelineUtilityMethods::SendWellKnownLabelsAndEventClasses(), TimelineUtilityMethods::TimelineUtilityMethods(), TimelineUtilityMethods::TypeEntity(), and TimelineUtilityMethods::~TimelineUtilityMethods().
|
delete |
|
default |
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
|
inline |
Definition at line 88 of file TimelineUtilityMethods.hpp.
ProfilingDynamicGuid CreateConnectionRelationship | ( | ProfilingRelationshipType | relationshipType, |
ProfilingGuid | headGuid, | ||
ProfilingGuid | tailGuid | ||
) |
Definition at line 336 of file TimelineUtilityMethods.cpp.
References LabelsAndEventClasses::CONNECTION_GUID, ProfilingService::Instance(), TimelineUtilityMethods::MarkEntityWithType(), and ProfilingService::NextGuid().
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
ProfilingDynamicGuid CreateNamedTypedChildEntity | ( | ProfilingGuid | parentEntityGuid, |
const std::string & | entityName, | ||
const std::string & | entityType | ||
) |
Definition at line 231 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::CreateNamedTypedEntity(), ProfilingService::Instance(), ProfilingService::NextGuid(), and armnn::profiling::RetentionLink.
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
void CreateNamedTypedChildEntity | ( | ProfilingGuid | entityGuid, |
ProfilingGuid | parentEntityGuid, | ||
const std::string & | entityName, | ||
const std::string & | entityType | ||
) |
Definition at line 264 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::CreateNamedTypedEntity(), ProfilingService::Instance(), ProfilingService::NextGuid(), and armnn::profiling::RetentionLink.
void CreateNamedTypedChildEntity | ( | ProfilingGuid | entityGuid, |
ProfilingGuid | parentEntityGuid, | ||
const std::string & | entityName, | ||
ProfilingStaticGuid | typeGuid | ||
) |
Definition at line 296 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::CreateNamedTypedEntity(), ProfilingService::Instance(), ProfilingService::NextGuid(), and armnn::profiling::RetentionLink.
ProfilingDynamicGuid CreateNamedTypedEntity | ( | const std::string & | name, |
const std::string & | type | ||
) |
Definition at line 80 of file TimelineUtilityMethods.cpp.
References ProfilingService::Instance(), and ProfilingService::NextGuid().
Referenced by TimelineUtilityMethods::CreateNamedTypedChildEntity(), and TimelineUtilityMethods::TimelineUtilityMethods().
void CreateNamedTypedEntity | ( | ProfilingGuid | entityGuid, |
const std::string & | name, | ||
const std::string & | type | ||
) |
Definition at line 102 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::NameEntity(), and TimelineUtilityMethods::TypeEntity().
void CreateNamedTypedEntity | ( | ProfilingGuid | entityGuid, |
const std::string & | name, | ||
ProfilingStaticGuid | typeGuid | ||
) |
Definition at line 128 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::MarkEntityWithType(), and TimelineUtilityMethods::NameEntity().
ProfilingDynamicGuid CreateRelationship | ( | ProfilingRelationshipType | relationshipType, |
ProfilingGuid | headGuid, | ||
ProfilingGuid | tailGuid | ||
) |
Definition at line 321 of file TimelineUtilityMethods.cpp.
References ProfilingService::Instance(), and ProfilingService::NextGuid().
Referenced by TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent(), and TimelineUtilityMethods::TimelineUtilityMethods().
void CreateTypedEntity | ( | ProfilingGuid | entityGuid, |
ProfilingStaticGuid | typeGuid | ||
) |
Definition at line 353 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::MarkEntityWithType().
Referenced by TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent(), and TimelineUtilityMethods::TimelineUtilityMethods().
ProfilingStaticGuid DeclareLabel | ( | const std::string & | labelName | ) |
Definition at line 148 of file TimelineUtilityMethods.cpp.
References ProfilingService::GenerateStaticId(), and ProfilingService::Instance().
Referenced by TimelineUtilityMethods::MarkEntityWithLabel(), and TimelineUtilityMethods::TimelineUtilityMethods().
|
static |
Definition at line 16 of file TimelineUtilityMethods.cpp.
References ProfilingService::GetSendTimelinePacket(), and ProfilingService::Instance().
Referenced by LoadedNetwork::EnqueueWorkload(), and LoadedNetwork::MakeLoadedNetwork().
void MarkEntityWithLabel | ( | ProfilingGuid | entityGuid, |
const std::string & | labelName, | ||
ProfilingStaticGuid | labelLinkGuid | ||
) |
Definition at line 166 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::DeclareLabel(), ProfilingService::Instance(), armnn::profiling::LabelLink, and ProfilingService::NextGuid().
Referenced by TimelineUtilityMethods::NameEntity(), TimelineUtilityMethods::TimelineUtilityMethods(), and TimelineUtilityMethods::TypeEntity().
void MarkEntityWithType | ( | ProfilingGuid | entityGuid, |
ProfilingStaticGuid | typeNameGuid | ||
) |
Definition at line 199 of file TimelineUtilityMethods.cpp.
References ProfilingService::Instance(), armnn::profiling::LabelLink, ProfilingService::NextGuid(), and LabelsAndEventClasses::TYPE_GUID.
Referenced by TimelineUtilityMethods::CreateConnectionRelationship(), TimelineUtilityMethods::CreateNamedTypedEntity(), TimelineUtilityMethods::CreateTypedEntity(), and TimelineUtilityMethods::TimelineUtilityMethods().
void NameEntity | ( | ProfilingGuid | entityGuid, |
const std::string & | name | ||
) |
Definition at line 221 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::MarkEntityWithLabel(), and LabelsAndEventClasses::NAME_GUID.
Referenced by TimelineUtilityMethods::CreateNamedTypedEntity(), and TimelineUtilityMethods::TimelineUtilityMethods().
|
delete |
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
|
default |
void RecordEndOfLifeEvent | ( | ProfilingGuid | entityGuid | ) |
Definition at line 408 of file TimelineUtilityMethods.cpp.
References LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS, and TimelineUtilityMethods::RecordEvent().
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
ProfilingDynamicGuid RecordEvent | ( | ProfilingGuid | entityGuid, |
ProfilingStaticGuid | eventClassGuid | ||
) |
Definition at line 362 of file TimelineUtilityMethods.cpp.
References armnn::profiling::DataLink, armnn::profiling::ExecutionLink, armnn::profiling::GetTimestamp(), ProfilingService::Instance(), and ProfilingService::NextGuid().
Referenced by TimelineUtilityMethods::RecordEndOfLifeEvent(), TimelineUtilityMethods::RecordWorkloadInferenceAndStartOfLifeEvent(), and TimelineUtilityMethods::TimelineUtilityMethods().
ProfilingDynamicGuid RecordWorkloadInferenceAndStartOfLifeEvent | ( | ProfilingGuid | workloadGuid, |
ProfilingGuid | inferenceGuid | ||
) |
Definition at line 397 of file TimelineUtilityMethods.cpp.
References LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS, TimelineUtilityMethods::CreateRelationship(), TimelineUtilityMethods::CreateTypedEntity(), ProfilingService::Instance(), ProfilingService::NextGuid(), TimelineUtilityMethods::RecordEvent(), armnn::profiling::RetentionLink, and LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID.
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
void SendWellKnownLabelsAndEventClasses | ( | ) |
Definition at line 31 of file TimelineUtilityMethods.cpp.
References LabelsAndEventClasses::ARMNN_PROFILING_EOL_EVENT_CLASS, LabelsAndEventClasses::ARMNN_PROFILING_SOL_EVENT_CLASS, LabelsAndEventClasses::BACKENDID_GUID, LabelsAndEventClasses::BACKENDID_LABEL, LabelsAndEventClasses::CONNECTION, LabelsAndEventClasses::CONNECTION_GUID, LabelsAndEventClasses::INDEX_GUID, LabelsAndEventClasses::INDEX_LABEL, LabelsAndEventClasses::INFERENCE, LabelsAndEventClasses::INFERENCE_GUID, LabelsAndEventClasses::LAYER, LabelsAndEventClasses::LAYER_GUID, LabelsAndEventClasses::NAME_GUID, LabelsAndEventClasses::NAME_LABEL, LabelsAndEventClasses::NETWORK, LabelsAndEventClasses::NETWORK_GUID, LabelsAndEventClasses::TYPE_GUID, LabelsAndEventClasses::TYPE_LABEL, LabelsAndEventClasses::WORKLOAD, LabelsAndEventClasses::WORKLOAD_EXECUTION, LabelsAndEventClasses::WORKLOAD_EXECUTION_GUID, and LabelsAndEventClasses::WORKLOAD_GUID.
Referenced by TimelineUtilityMethods::TimelineUtilityMethods().
void TypeEntity | ( | ProfilingGuid | entityGuid, |
const std::string & | type | ||
) |
Definition at line 226 of file TimelineUtilityMethods.cpp.
References TimelineUtilityMethods::MarkEntityWithLabel(), and LabelsAndEventClasses::TYPE_GUID.
Referenced by TimelineUtilityMethods::CreateNamedTypedEntity(), and TimelineUtilityMethods::TimelineUtilityMethods().