Exemplo n.º 1
0
        public void NewIteration(IterationEventKind kind)
        {
            int index = IterationEventRoots.Count;

            IterationEventRoots.Add(new IterationEventRoot(index, kind));
            IterationEventKinds.Add(kind);
        }
 public EventData(IterationEventKind kind, string identifier, string metadata, int index)
 {
     Kind        = kind;
     Flags       = EventDataFlags.None;
     Identifier  = identifier;
     m_Metadata  = metadata;
     Index       = index;
     ParentIndex = -1;
     StartTime   = -1.0f;
     FinishTime  = -1.0f;
 }
Exemplo n.º 3
0
 static string[] GetKeyMarkers(IterationEventKind iterationEventKind)
 {
     if (s_KeyMarkers.TryGetValue(iterationEventKind, out string[] marker))
Exemplo n.º 4
0
 static void AddKeyMarkers(IterationEventKind iterationEventKind, params string[] markers)
 {
     s_KeyMarkers[iterationEventKind] = markers;
 }