Package PamUtils

Class CPUMonitor

java.lang.Object
PamUtils.CPUMonitor

public class CPUMonitor extends Object
Class to monitor Thread CPU usage over multiple calls.
  • Constructor Details

    • CPUMonitor

      public CPUMonitor()
  • Method Details

    • reset

      public void reset()
    • start

      public void start()
    • stop

      public long stop()
    • getTotalProcessTime

      public long getTotalProcessTime()
      Returns:
      the totalProcessTime
    • getProcessCalls

      public long getProcessCalls()
      Returns:
      the processCalls
    • getSummary

      public String getSummary(String prefix)
    • getSummary

      public String getSummary()