private static uint ProjectBytes(QuicEvent evt) { if (evt.EventId == QuicEventId.DatapathSend) { return((evt as QuicDatapathSendEvent) !.TotalSize); } else { return((evt as QuicDatapathRecvEvent) !.TotalSize); } }
private static Timestamp ProjectTime(QuicEvent evt) { return(evt.TimeStamp); }
private static string ProjectType(QuicEvent evt) { return((evt.EventId == QuicEventId.DatapathSend) ? "TX" : "RX"); }
private static uint ProjectCPU(QuicEvent evt) { return(evt.Processor); }
private static uint ProjectProcessId(QuicEvent evt) { return(evt.ProcessId); }
private static string ProjectType(QuicEvent evt) { return(evt.ID == QuicEventId.StreamCreated ? "Stream Create" : "Stream Destroy"); }
private static uint ProjectThreadId(QuicEvent evt) { return(evt.ThreadId); }