Lines Matching refs:metric
172 * m signal metric (0 - 100)
253 #define MINMETRIC 50 /* min channel metric (of 160) */
285 #define METRIC 0x0800 /* one or more stations heard */
322 double metric; /* integrator sum */
346 struct xmtr xmtr[NCHAN]; /* station metric */
1352 * frame metric, it is considered valid. However, the timecode
1390 * If in sync and the signal metric is above threshold, the
1438 int metric; /* distance metric */
1460 metric = 0;
1473 metric += val1;
1489 return (metric);
1513 up->status &= INSYNC | METRIC;
1535 double metric;
1546 * metric. The channel is selected as the one least recently
1548 * to the channel with the highest channel metric.
1554 * Update the current channel metric and age of all channels.
1555 * Scan all channels for the highest metric.
1558 sp->metric -= sp->integ[sp->iptr];
1560 sp->metric += sp->integ[sp->iptr];
1563 metric = 0;
1566 if (up->xmtr[i].metric > metric) {
1567 up->status |= METRIC;
1568 metric = up->xmtr[i].metric;
1578 if (up->dwell == 0 || metric == 0) {
1596 if (metric == 0 && up->status & METRIC) {
1597 up->status &= ~METRIC;