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); }
public DebugEventBatchSummary(VSIDebugEventBatch proto, long latencyInMicroseconds) { Proto = proto; LatencyInMicroseconds = latencyInMicroseconds; }