internal ProgressSplitsBlock(int numberSplits) { /* * This object gathers the [currently four] PeriodStatset's that we * are gathering for a particular task attempt for packaging and * handling as a single object. */ progressWallclockTime = new CumulativePeriodicStats(numberSplits); progressCPUTime = new CumulativePeriodicStats(numberSplits); progressVirtualMemoryKbytes = new StatePeriodicStats(numberSplits); progressPhysicalMemoryKbytes = new StatePeriodicStats(numberSplits); }
public WrappedPeriodicStatsAccumulator(PeriodicStatsAccumulator real) { //Workaround for PeriodicStateAccumulator being package access this.real = real; }