Esempio n. 1
0
        VSIDebugEventBatch GetProto(
            Dictionary <MethodInfo, List <DebugEventInterval> > eventData)
        {
            var eventBatch = new VSIDebugEventBatch();

            if (eventData.Count > 0)
            {
                eventBatch.BatchStartTimestampMicroseconds = _firstInitialTimestampInMicro;
                eventBatch.DebugEvents.AddRange(
                    eventData.Select(a => CreateDebugEvent(a.Key, a.Value)));
            }
            return(eventBatch);
        }
Esempio n. 2
0
 public DebugEventBatchSummary(VSIDebugEventBatch proto, long latencyInMicroseconds)
 {
     Proto = proto;
     LatencyInMicroseconds = latencyInMicroseconds;
 }