• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/netgraph/

Lines Matching refs:latency

204 	uint32_t		latency;	/* calculated link latency */
325 static int ng_ppp_intcmp(void *latency, const void *v1, const void *v2);
2184 * on each link's latency, bandwidth, and calculated additional latency.
2185 * The latter quantity is the additional latency caused by previously
2189 * same latency and bandwidth values.
2197 * latency l_i (in miliseconds). Consider the function function f_i(t)
2202 * Note that the y-intersect is always <= zero because latency can't be
2209 * At any given time, each link has some additional latency a_i >= 0
2212 * the previous latency value, the number of bytes written, and the
2216 * sorted by latency, so that l_i <= l_{i+1}.
2246 * may not get any bytes because their latency is too high.
2250 * important total bundle latency is (e.g., for interactive response time),
2255 * Since latency is measured in miliseconds, the "resolution" of this
2259 * same latency and bandwidth.
2265 int latency[NG_PPP_MAX_LINKS];
2288 /* Start with base latency value */
2290 latency[activeLinkNum] = alink->latency;
2293 /* Any additional latency? */
2316 latency[activeLinkNum] +=
2320 /* Sort active links by latency */
2322 priv->numActiveLinks, sizeof(*sortByLatency), latency, ng_ppp_intcmp);
2330 flowTime = latency[sortByLatency[numFragments]]
2331 - latency[sortByLatency[i]];
2345 topSum += latency[sortByLatency[i]] * bw; /* / 100 */
2356 (bw * (t0 - latency[sortByLatency[i]]) + 50) / 100;
2406 ng_ppp_intcmp(void *latency, const void *v1, const void *v2)
2411 return ((int *)latency)[index1] - ((int *)latency)[index2];
2484 /* Increase latency for each link an amount equal to one MP header */
2496 priv->links[i].latency =
2497 priv->links[i].conf.latency +
2518 if (link->latency != link0->latency
2585 if (newConf->links[i].latency > NG_PPP_MAX_LATENCY)