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

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

      Constructors 
      Constructor Description
      Instrumentation()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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()
      • reset

        public static void reset()