docs: public void report(long arrivalTime) {
      checkArgument(arrivalTime >= 0, "arrivalTime must not be negative");
      long latestHeartbeat = history.latestHeartbeatTime();
      history.samples().addValue(arrivalTime - latestHeartbeat);
      history.setLatestHeartbeatTime(arrivalTime);
    }