Lines Matching full:metric
170 * m signal metric (0 - 100)
251 #define MINMETRIC 50 /* min channel metric (of 160) */
283 #define METRIC 0x0800 /* one or more stations heard */ macro
320 double metric; /* integrator sum */ member
344 struct xmtr xmtr[NCHAN]; /* station metric */
1350 * frame metric, it is considered valid. However, the timecode in chu_second()
1388 * If in sync and the signal metric is above threshold, the in chu_second()
1436 int metric; /* distance metric */ in chu_major() local
1458 metric = 0; in chu_major()
1471 metric += val1; in chu_major()
1487 return (metric); in chu_major()
1511 up->status &= INSYNC | METRIC; in chu_clear()
1533 double metric; in chu_newchan() local
1544 * metric. The channel is selected as the one least recently in chu_newchan()
1546 * to the channel with the highest channel metric. in chu_newchan()
1552 * Update the current channel metric and age of all channels. in chu_newchan()
1553 * Scan all channels for the highest metric. in chu_newchan()
1556 sp->metric -= sp->integ[sp->iptr]; in chu_newchan()
1558 sp->metric += sp->integ[sp->iptr]; in chu_newchan()
1561 metric = 0; in chu_newchan()
1564 if (up->xmtr[i].metric > metric) { in chu_newchan()
1565 up->status |= METRIC; in chu_newchan()
1566 metric = up->xmtr[i].metric; in chu_newchan()
1576 if (up->dwell == 0 || metric == 0) { in chu_newchan()
1594 if (metric == 0 && up->status & METRIC) { in chu_newchan()
1595 up->status &= ~METRIC; in chu_newchan()