code: public double getElapsedTimeCurrentThread(int from, int to) {
  	   Accumulator acc = getAccForThread();
  
  	   return acc == null ? Double.NaN : (acc.currentTimes[to] - acc.currentTimes[from]) / MILLION;
     }
docs: Elapsed time for all events {@code from} through {@code to} for the current thread.