Lines Matching refs:rate
59 double rate[MAXS];
109 memset(&n->rate, 0, sizeof(n->rate));
183 unsigned rate;
194 if (sscanf(p, "%u", &rate) != 1)
196 n->rate[i] = rate;
220 double *rates = n->rate;
228 rates = h1->rate;
291 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate");
292 fprintf(fp, "%8s/%-6s ", "TX Pkts", "Rate");
293 fprintf(fp, "%8s/%-6s ", "RX Data", "Rate");
294 fprintf(fp, "%8s/%-6s\n","TX Data", "Rate");
300 fprintf(fp, "%8s/%-6s ", "RX Over", "Rate");
301 fprintf(fp, "%8s/%-6s\n","TX Coll", "Rate");
304 fprintf(fp, "%8s/%-6s ", "RX Errs", "Rate");
305 fprintf(fp, "%8s/%-6s ", "RX Drop", "Rate");
306 fprintf(fp, "%8s/%-6s ", "RX Over", "Rate");
307 fprintf(fp, "%8s/%-6s\n","RX Leng", "Rate");
310 fprintf(fp, "%8s/%-6s ", "RX Crc", "Rate");
311 fprintf(fp, "%8s/%-6s ", "RX Frm", "Rate");
312 fprintf(fp, "%8s/%-6s ", "RX Fifo", "Rate");
313 fprintf(fp, "%8s/%-6s\n","RX Miss", "Rate");
316 fprintf(fp, "%8s/%-6s ", "TX Errs", "Rate");
317 fprintf(fp, "%8s/%-6s ", "TX Drop", "Rate");
318 fprintf(fp, "%8s/%-6s ", "TX Coll", "Rate");
319 fprintf(fp, "%8s/%-6s\n","TX Carr", "Rate");
322 fprintf(fp, "%8s/%-6s ", "TX Abrt", "Rate");
323 fprintf(fp, "%8s/%-6s ", "TX Fifo", "Rate");
324 fprintf(fp, "%8s/%-6s ", "TX Hear", "Rate");
325 fprintf(fp, "%8s/%-6s\n","TX Wind", "Rate");
334 format_rate(fp, vals, n->rate, i);
341 format_rate(fp, vals, n->rate, 11);
342 format_rate(fp, vals, n->rate, 9);
346 format_rate(fp, vals, n->rate, 4);
347 format_rate(fp, vals, n->rate, 6);
348 format_rate(fp, vals, n->rate, 11);
349 format_rate(fp, vals, n->rate, 10);
353 format_rate(fp, vals, n->rate, 12);
354 format_rate(fp, vals, n->rate, 13);
355 format_rate(fp, vals, n->rate, 14);
356 format_rate(fp, vals, n->rate, 15);
360 format_rate(fp, vals, n->rate, 5);
361 format_rate(fp, vals, n->rate, 7);
362 format_rate(fp, vals, n->rate, 9);
363 format_rate(fp, vals, n->rate, 17);
367 format_rate(fp, vals, n->rate, 16);
368 format_rate(fp, vals, n->rate, 18);
369 format_rate(fp, vals, n->rate, 19);
370 format_rate(fp, vals, n->rate, 20);
456 n->rate[i] += W*(sample-n->rate[i]);
459 n->rate[i] = sample;
462 n->rate[i] += w*(sample-n->rate[i]);