Lines Matching defs:latency

202 	uint32_t		latency;	/* calculated link latency */
323 static int ng_ppp_intcmp(void *latency, const void *v1, const void *v2);
2183 * on each link's latency, bandwidth, and calculated additional latency.
2184 * The latter quantity is the additional latency caused by previously
2188 * same latency and bandwidth values.
2196 * latency l_i (in miliseconds). Consider the function function f_i(t)
2201 * Note that the y-intersect is always <= zero because latency can't be
2208 * At any given time, each link has some additional latency a_i >= 0
2211 * the previous latency value, the number of bytes written, and the
2215 * sorted by latency, so that l_i <= l_{i+1}.
2245 * may not get any bytes because their latency is too high.
2249 * important total bundle latency is (e.g., for interactive response time),
2254 * Since latency is measured in miliseconds, the "resolution" of this
2258 * same latency and bandwidth.
2264 int latency[NG_PPP_MAX_LINKS];
2287 /* Start with base latency value */
2289 latency[activeLinkNum] = alink->latency;
2292 /* Any additional latency? */
2315 latency[activeLinkNum] +=
2319 /* Sort active links by latency */
2321 priv->numActiveLinks, sizeof(*sortByLatency), latency, ng_ppp_intcmp);
2329 flowTime = latency[sortByLatency[numFragments]]
2330 - latency[sortByLatency[i]];
2344 topSum += latency[sortByLatency[i]] * bw; /* / 100 */
2355 (bw * (t0 - latency[sortByLatency[i]]) + 50) / 100;
2405 ng_ppp_intcmp(void *latency, const void *v1, const void *v2)
2410 return ((int *)latency)[index1] - ((int *)latency)[index2];
2483 /* Increase latency for each link an amount equal to one MP header */
2495 priv->links[i].latency =
2496 priv->links[i].conf.latency +
2517 if (link->latency != link0->latency
2584 if (newConf->links[i].latency > NG_PPP_MAX_LATENCY)