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

Method AddConnection

src/timelineDecoder/JSONTimelineDecoder.cpp:334–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334void JSONTimelineDecoder::JSONEntity::AddConnection(JSONEntity& headEntity, JSONEntity& connectedEntity)
335{
336 std::vector<uint64_t>::iterator it = std::find(headEntity.childEntities.begin(),
337 headEntity.childEntities.end(), connectedEntity.GetGuid());
338 headEntity.childEntities.erase(it);
339 headEntity.connected_entities.push_back(connectedEntity.m_Guid);
340}
341
342uint64_t JSONTimelineDecoder::JSONEntity::GetGuid()
343{

Callers 1

HandleConnectionLabelMethod · 0.45

Calls 5

findFunction · 0.85
push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetGuidMethod · 0.45

Tested by

no test coverage detected