Пример #1
0
 internal QuicScheduleData(Timestamp timeStamp, TimestampDelta duration, uint threadId, QuicScheduleState state)
 {
     TimeStamp = timeStamp;
     Duration  = duration;
     ThreadId  = threadId;
     State     = state;
 }
Пример #2
0
 public QuicTimeStats GetStats(QuicScheduleState state)
 {
     return(Stats[(int)state]);
 }
Пример #3
0
 internal void AddCpuTime(QuicScheduleState state, TimestampDelta delta)
 {
     Stats[(int)state].AddCpuTime(delta);
 }