Lines Matching refs:delta1
134 long delta1, delta2; in measure() local
260 delta1 = histime - sendtime; in measure()
267 if (delta1 < BIASN) in measure()
268 delta1 += MODULO; in measure()
269 else if (delta1 > BIASP) in measure()
270 delta1 -= MODULO; in measure()
278 if (delta1 < min1) in measure()
279 min1 = delta1; in measure()
282 if (delta1 + delta2 < min_rtt) { in measure()
283 min_rtt = delta1 + delta2; in measure()
284 measure_delta1 = (delta1 - delta2)/2 + PROCESSING_TIME; in measure()
287 min1 = delta1; in measure()
311 long delta1, delta2; in measure_opt() local
467 delta1 = histime - sendtime; in measure_opt()
474 if (delta1 < BIASN) in measure_opt()
475 delta1 += MODULO; in measure_opt()
476 else if (delta1 > BIASP) in measure_opt()
477 delta1 -= MODULO; in measure_opt()
485 if (delta1 < min1) in measure_opt()
486 min1 = delta1; in measure_opt()
489 if (delta1 + delta2 < min_rtt) { in measure_opt()
490 min_rtt = delta1 + delta2; in measure_opt()
491 measure_delta1 = (delta1 - delta2)/2 + PROCESSING_TIME; in measure_opt()
494 min1 = delta1; in measure_opt()