Exemplo n.º 1
0
 /// <summary>
 /// Copy this histogram, corrected for coordinated omission, into the target histogram, overwriting it's contents.
 /// </summary>
 /// <param name="targetHistogram">the histogram to copy into</param>
 /// <param name="expectedIntervalBetweenValueSamples">If <paramref name="expectedIntervalBetweenValueSamples"/> is larger than 0, add auto-generated value records as appropriate if value is larger than <paramref name="expectedIntervalBetweenValueSamples"/></param>
 /// <remarks>
 /// See <see cref="CopyCorrectedForCoordinatedOmission"/> for more detailed explanation about how correction is applied
 /// </remarks>
 public void CopyIntoCorrectedForCoordinatedOmission(HistogramBase targetHistogram, long expectedIntervalBetweenValueSamples)
 {
     targetHistogram.Reset();
     targetHistogram.AddWhileCorrectingForCoordinatedOmission(this, expectedIntervalBetweenValueSamples);
     targetHistogram.StartTimeStamp = StartTimeStamp;
     targetHistogram.EndTimeStamp   = EndTimeStamp;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Copy this histogram, corrected for coordinated omission, into the target histogram, overwriting it's contents.
 /// </summary>
 /// <param name="targetHistogram">the histogram to copy into</param>
 /// <param name="expectedIntervalBetweenValueSamples">If <paramref name="expectedIntervalBetweenValueSamples"/> is larger than 0, add auto-generated value records as appropriate if value is larger than <paramref name="expectedIntervalBetweenValueSamples"/></param>
 /// <remarks>
 /// See <see cref="CopyCorrectedForCoordinatedOmission"/> for more detailed explanation about how correction is applied
 /// </remarks>
 public void CopyIntoCorrectedForCoordinatedOmission(HistogramBase targetHistogram, long expectedIntervalBetweenValueSamples)
 {
     targetHistogram.Reset();
     targetHistogram.AddWhileCorrectingForCoordinatedOmission(this, expectedIntervalBetweenValueSamples);
     targetHistogram.StartTimeStamp = StartTimeStamp;
     targetHistogram.EndTimeStamp = EndTimeStamp;
 }