Exemple #1
0
 internal QuicRawTputSample(QuicTputDataType type, QuicSampleMode sampleMode = QuicSampleMode.Value)
 {
     Data = new QuicRawTputData()
     {
         Type = type
     };
     LastValue    = 0;
     LastValueSet = false;
     SampleMode   = sampleMode;
 }
Exemple #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;
 }