Changed timer from System.getCurrentTimeMilis() to
ThreadMXBean.getCurrentThreadCpuTime().