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