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

Method HandleConnectionLabel

src/timelineDecoder/JSONTimelineDecoder.cpp:181–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void JSONTimelineDecoder::HandleConnectionLabel(const ITimelineDecoder::Relationship& relationship)
182{
183 if (m_Model.relationships.count(relationship.m_HeadGuid) != 0)
184 {
185 Relationship retentionRelation = m_Model.relationships.at(relationship.m_HeadGuid);
186 JSONEntity& headEntity = m_Model.jsonEntities.at(retentionRelation.m_HeadGuid);
187 JSONEntity& tailEntity = m_Model.jsonEntities.at(retentionRelation.m_TailGuid);
188 headEntity.AddConnection(headEntity, tailEntity);
189 }
190 else
191 {
192 m_Model.relationships.insert({relationship.m_Guid, relationship});
193 }
194}
195
196void JSONTimelineDecoder::HandleRetentionLink(const ITimelineDecoder::Relationship& relationship)
197{

Callers

nothing calls this directly

Calls 2

countMethod · 0.45
AddConnectionMethod · 0.45

Tested by

no test coverage detected