Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public WrappedPeriodicStatsAccumulator(PeriodicStatsAccumulator real)
 {
     //Workaround for PeriodicStateAccumulator being package access
     this.real = real;
 }