code: public double getCumulativeElapsedTimeAllCurrentThread() {
  	  double sum = 0;
  	  
  	  Accumulator acc = getAccForThread();
  	  if (acc == null) {
  		  return sum;
  	  }
  
        for (int i = 1; i <= ProfilingEvent.EXECUTED.ordinal(); ++i) {
           sum += acc.accumulatedTimes[i];
        }
        
        return sum;
     }
docs: Elapsed time of entire execution, summed over all executions, for the current thread,
  if it has executed the kernel on the device assigned to this KernelDeviceProfile instance.