zTraceRate = chop(rmsTraceRate); zAllocRate = chop(rmsAllocRate);
zTraceRate = chop(zTraceRate); zAllocRate = chop(zAllocRate);
  public static void updateStats() {    avgTraceRate = sumTraceRate / sampleCount;    avgAllocRate = sumAllocRate / sampleCount;    diffSquaredSumTraceRate = squaredSumTraceRate + sampleCount * (avgTraceRate * avgTraceRate)       - 2 * avgTraceRate * sumTraceRate;    diffSquaredSumAllocRate = squaredSumAllocRate + sampleCount * (avgAllocRate * avgAllocRate)       - 2 * avgAllocRate * sumAllocRate;    rmsTraceRate = Math.sqrt(diffSquaredSumTraceRate / sampleCount);    rmsAllocRate = Math.sqrt(diffSquaredSumAllocRate / sampleCount);    zTraceRate = rmsTraceRate / avgTraceRate;    zAllocRate = rmsAllocRate / avgAllocRate;    avgTraceRate = chop(avgTraceRate);    avgAllocRate = chop(avgAllocRate);    rmsTraceRate = chop(rmsTraceRate);    rmsAllocRate = chop(rmsAllocRate);    zTraceRate = chop(rmsTraceRate);    zAllocRate = chop(rmsAllocRate);  }