Class Instrumentation

  • public class Instrumentation
    extends java.lang.Object
    Internal class used for instrumentation purposes. It maintains a number of counters and displays these at the end of the run. Currently implemented only for the Transform command line, with -t option set.
    • Field Summary

      Modifier and Type Field Description
      static boolean ACTIVE  
      static java.util.HashMap<java.lang.String,​java.lang.Long> counters  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String callStack()  
      static void count​(java.lang.String counter)  
      static void count​(java.lang.String counter, long increment)  
      static void report()  
      static void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • counters

        public static java.util.HashMap<java.lang.String,​java.lang.Long> counters
    • Constructor Detail

      • Instrumentation

        public Instrumentation()
    • Method Detail

      • count

        public static void count​(java.lang.String counter)
      • count

        public static void count​(java.lang.String counter,
                                 long increment)
      • report

        public static void report()
      • callStack

        public static java.lang.String callStack()
      • reset

        public static void reset()