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

Method CreateEvent

src/timelineDecoder/JSONTimelineDecoder.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46JSONTimelineDecoder::TimelineStatus JSONTimelineDecoder::CreateEvent(const Event& event)
47{
48 JSONEntity jsonEntity(event.m_Guid);
49 jsonEntity.SetType(EVENT);
50 this->m_Model.events.insert({event.m_Guid, event});
51 this->m_Model.jsonEntities.insert({jsonEntity.GetGuid(), jsonEntity});
52 return TimelineStatus::TimelineStatus_Success;
53}
54
55JSONTimelineDecoder::TimelineStatus JSONTimelineDecoder::CreateLabel(const Label& label)
56{

Callers 1

Calls 2

SetTypeMethod · 0.45
GetGuidMethod · 0.45

Tested by 1