Class CallCounter


  • public class CallCounter
    extends java.lang.Object
    Small profiling functions to count the number of times a function has been called
    Author:
    nk-fouque
    • Constructor Summary

      Constructors 
      Constructor Description
      CallCounter​(java.lang.String functionName)  
    • Method Summary

      Modifier and Type Method Description
      void call()
      Increases call count by one
      int getCount()  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • CallCounter

        public CallCounter​(java.lang.String functionName)
    • Method Detail

      • call

        public void call()
        Increases call count by one
      • reset

        public void reset()
      • getCount

        public int getCount()