private static void IncrementPointFrequency(StatisticalDataHistogram histograms, double value)
 {
     for (int index = 0; index < histograms.get_DataPoints().Length; ++index)
     {
         if (histograms.get_DataPoints()[index].get_EndValue() >= value)
         {
             HistogramDataPoint dataPoint = histograms.get_DataPoints()[index];
             dataPoint.set_Frequency(dataPoint.get_Frequency() + 1U);
             break;
         }
     }
 }
Ejemplo n.º 2
0
 // Token: 0x060004DA RID: 1242 RVA: 0x0001E94C File Offset: 0x0001CB4C
 private static void IncrementPointFrequency(StatisticalDataHistogram histograms, double value)
 {
     for (int i = 0; i < histograms.DataPoints.Length; i++)
     {
         if (histograms.DataPoints[i].EndValue >= value)
         {
             HistogramDataPoint histogramDataPoint = histograms.DataPoints[i];
             uint frequency = histogramDataPoint.Frequency;
             histogramDataPoint.Frequency = frequency + 1U;
             return;
         }
     }
 }