private static void reportAccumulatedStats(@NotNull Histogram taskDurationHisto) {
    double avg_ns = taskDurationHisto.getMean();
    long p50_ns = taskDurationHisto.getValueAtPercentile(50);
    long p99_ns = taskDurationHisto.getValueAtPercentile(99);
    long p999_ns = taskDurationHisto.getValueAtPercentile(99.9);
    long max_ns = taskDurationHisto.getMaxValue();
    int measurementsCount = (int)taskDurationHisto.getTotalCount();

    UILatencyLogger.reportResponsiveness(avg_ns, p50_ns, p99_ns, p999_ns, max_ns, measurementsCount);

    LOG.info(
      "JVM responsiveness: {avg: " + avg_ns + ", 50%: " + p50_ns + ", " +
      "99%: " + p99_ns + ", 99.9%: " + p999_ns + ", max: " + max_ns + " }ns, x{" + measurementsCount + " measurements}"
    );
  }
private static void reportAccumulatedStats(@NotNull Histogram taskDurationHisto)