Exemple #1
0
 public static HiccupMeter dskMeter(
     long resolution, long delay, String path, MethodCallStatistic stats) {
   HiccupMeter meter = new HiccupMeter(resolution, delay, stats);
   meter.dskEnabled = true;
   meter.path = path;
   meter.threadName = "ZORKA-Hiccup-dsk";
   return meter;
 }
Exemple #2
0
 public static HiccupMeter memMeter(long resolution, long delay, MethodCallStatistic stats) {
   HiccupMeter meter = new HiccupMeter(resolution, delay, stats);
   meter.memEnabled = true;
   meter.threadName = "ZORKA-Hiccup-mem";
   return meter;
 }
Exemple #3
0
 public static HiccupMeter cpuMeter(long resolution, long delay, MethodCallStatistic stats) {
   HiccupMeter meter = new HiccupMeter(resolution, delay, stats);
   meter.threadName = "ZORKA-Hiccup-cpu";
   return meter;
 }