n_ewma_count(const congestion_control_t *cc)
{
  uint64_t ewma_cnt = MIN(CWND_UPDATE_RATE(cc)*n_ewma_cwnd_pct/100,
                          n_ewma_max);
  ewma_cnt = MAX(ewma_cnt, 2);
  return ewma_cnt;
}
n_ewma_count(const congestion_control_t *cc)
{
  uint64_t ewma_cnt = MIN(CWND_UPDATE_RATE(cc)*n_ewma_cwnd_pct/100,
                          n_ewma_max);
  ewma_cnt = MAX(ewma_cnt, 2);
  return ewma_cnt;
}