Thread thisThread = Thread.currentThread(); long threadId = thisThread.getId(); long startTime = threadProfiler.getThreadWaitTime(threadId); long startCpu = threadProfiler.getThreadCpuTime(threadId); try { Tracking tracking = liveThreads.get(thisThread); long totalCpuTime = threadProfiler.getThreadCpuTime(threadId) - startCpu; long totalTime = threadProfiler.getThreadWaitTime(threadId) - startTime; if(tracking == null) {