public ProcessTime elapsed() {
    synchronized (this) {
      return (end == null ? ProcessTime.now() : end).minus(start);
    }
  }
Returns the time from start to now if the task is still running, or start to end if it has finished.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/Timer.java