private boolean collectObjectSizeData(int size) { //collect all these data points to make a better decision about this pipe length. RunningStdDev.sample(objectSizeData, size); return true; }
RunningStdDev.sample(stdDev, elapsedAtPercentile);
public void markConsumerPassDone() { long thisPass = totalWrittenFragments-lastFragmentCount; if (thisPass>0) { RunningStdDev.sample(fragsPerPass, thisPass); lastFragmentCount = totalWrittenFragments; } }
public static void markConsumerPassDone(Pipe<?> target) { long thisPass = target.totalWrittenFragments-target.lastFragmentCount; if (thisPass>0) { RunningStdDev.sample(target.fragsPerPass, thisPass); target.lastFragmentCount = target.totalWrittenFragments; } }
private boolean collectObjectSizeData(int size) { //collect all these data points to make a better decision about this pipe length. RunningStdDev.sample(objectSizeData, size); return true; }
private boolean collectObjectSizeData(int size) { //collect all these data points to make a better decision about this pipe length. RunningStdDev.sample(objectSizeData, size); return true; }
public void sample(double value) { RunningStdDev.sample( buckets[activeIdx], value); if (++activeSampleCount == samplesPerBucket) { processFinishedStdDev(buckets[activeSampleCount-1]); activeIdx = ++activeIdx & bucketMask; activeSampleCount = 0; } }
public void sample(double value) { RunningStdDev.sample( buckets[activeIdx], value); if (++activeSampleCount == samplesPerBucket) { processFinishedStdDev(buckets[activeSampleCount-1]); activeIdx = ++activeIdx & bucketMask; activeSampleCount = 0; } }
public void sample(double value) { RunningStdDev.sample( buckets[activeIdx], value); if (++activeSampleCount == samplesPerBucket) { processFinishedStdDev(buckets[activeSampleCount-1]); activeIdx = ++activeIdx & bucketMask; activeSampleCount = 0; } }
public static RunningStdDev stdDevPipesPerStage(GraphManager m) { if (null == m.stdDevPipes) { m.stdDevPipes = new RunningStdDev(); int i = m.stageIdToStage.length; while (--i>=0) { PronghornStage stage = m.stageIdToStage[i]; if (null!=stage) { int sample = getInputPipeCount(m, stage.stageId)+ getOutputPipeCount(m, stage.stageId); RunningStdDev.sample(m.stdDevPipes, sample); } } } return m.stdDevPipes; }
RunningStdDev.sample(stdDev, ElapsedTimeRecorder.elapsedAtPercentile(t.histogram(), .98));