public static ProcessTime now() {
    return new ProcessTime(Duration.ofNanos(System.nanoTime()), ProcessInfo.getProcessCpuTime(),
      ProcessInfo.getGcTime());
  }
Takes a snapshot of current wall and CPU time of this JVM.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/ProcessTime.java