/**
   * Called from the {@link Receiver} thread to check for initiating an RTT measurement.
   *
   * @param now in nanoseconds
   * @return number of work items processed.
   */
  int initiateAnyRttMeasurements(final long now) {
    int workCount = 0;

    if (congestionControl.shouldMeasureRtt(now)) {
      channelEndpoint.sendRttMeasurement(controlAddress, sessionId, streamId, now, 0, true);
      workCount = 1;
    }

    return workCount;
  }