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