예제 #1
0
 internal QuicRawTputSample(QuicTputDataType type, QuicSampleMode sampleMode = QuicSampleMode.Value)
 {
     Data = new QuicRawTputData()
     {
         Type = type
     };
     LastValue    = 0;
     LastValueSet = false;
     SampleMode   = sampleMode;
 }
예제 #2
0
 internal QuicRawTputSample(QuicTputDataType type, QuicSampleMode sampleMode = QuicSampleMode.Value, bool includeDuplicates = false)
 {
     Data = new QuicRawTputData()
     {
         Type = type
     };
     LastValue         = 0;
     LastValueSet      = false;
     IncludeDuplicates = includeDuplicates;
     SampleMode        = sampleMode;
 }