MCPcopy Create free account
hub / github.com/ARM-software/armnn / CreateRelationship

Method CreateRelationship

src/timelineDecoder/JSONTimelineDecoder.cpp:61–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61JSONTimelineDecoder::TimelineStatus JSONTimelineDecoder::CreateRelationship(const Relationship& relationship)
62{
63 if (relationship.m_RelationshipType == ITimelineDecoder::RelationshipType::RetentionLink)
64 {
65 HandleRetentionLink(relationship);
66 }
67 else if (relationship.m_RelationshipType == ITimelineDecoder::RelationshipType::LabelLink)
68 {
69 HandleLabelLink(relationship);
70 }
71 else if (relationship.m_RelationshipType == ITimelineDecoder::RelationshipType::ExecutionLink)
72 {
73 HandleExecutionLink(relationship);
74 }
75 else
76 {
77 m_Model.relationships.insert({relationship.m_Guid, relationship});
78 }
79
80 return TimelineStatus::TimelineStatus_Success;
81}
82
83
84void JSONTimelineDecoder::HandleExecutionLink(const ITimelineDecoder::Relationship& relationship)

Callers 3

AddWorkloadStructureFunction · 0.45
EnqueueWorkloadMethod · 0.45

Calls

no outgoing calls

Tested by 1