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

Method HandleExecutionLink

src/timelineDecoder/JSONTimelineDecoder.cpp:84–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83
84void JSONTimelineDecoder::HandleExecutionLink(const ITimelineDecoder::Relationship& relationship)
85{
86 uint64_t tailGuid = relationship.m_TailGuid;
87 uint64_t headGuid = relationship.m_HeadGuid;
88
89 if (m_Model.jsonEntities.count(relationship.m_HeadGuid) != 0)
90 {
91 JSONEntity& tailJSONEntity = m_Model.jsonEntities.at(tailGuid);
92 JSONEntity& headJSONEntity = m_Model.jsonEntities.at(headGuid);
93 tailJSONEntity.SetParent(headJSONEntity);
94 m_Model.jsonEntities.insert({headGuid, headJSONEntity});
95 m_Model.relationships.insert({relationship.m_Guid, relationship});
96 }
97 else
98 {
99 m_Model.relationships.insert({relationship.m_Guid, relationship});
100 }
101}
102
103void JSONTimelineDecoder::HandleLabelLink(const ITimelineDecoder::Relationship& relationship)
104{

Callers

nothing calls this directly

Calls 2

SetParentMethod · 0.80
countMethod · 0.45

Tested by

no test coverage detected