public StopwatchCPU(){
  threadTimer=ManagementFactory.getThreadMXBean();
  start=threadTimer.getCurrentThreadCpuTime();
}

public StopwatchCPU ( ) { threadTimer = ManagementFactory . getThreadMXBean ( ) ; start = threadTimer . getCurrentThreadCpuTime ( ) ; }
initializes a new stopwatch .
