Ejemplo n.º 1
0
 public override AbstractHistogram copyCorrectedForCoordinatedOmission(long expectedIntervalBetweenValueSamples)
 {
     lock (SyncLock)
     {
         var toHistogram = new SynchronizedHistogram(this);
         toHistogram.addWhileCorrectingForCoordinatedOmission(this, expectedIntervalBetweenValueSamples);
         return(toHistogram);
     }
 }
Ejemplo n.º 2
0
 public override AbstractHistogram copy()
 {
     lock (SyncLock)
     {
         SynchronizedHistogram copy;
         lock (this)
         {
             copy = new SynchronizedHistogram(this);
         }
         copy.add(this);
         return(copy);
     }
 }