Home | History | Annotate | Download | only in btt

Lines Matching refs:fprintf

56 	fprintf(ofp, "==================== ");
57 fprintf(ofp, "%s", hdr);
58 fprintf(ofp, " ====================\n\n");
63 fprintf(ofp, "%15s %13s %13s %13s %11s\n",
65 fprintf(ofp, "--------------- ------------- ------------- ------------- -----------\n");
72 fprintf(ofp, "%-15s %13.9f %13.9f %13.9f %11d\n", hdr,
76 fprintf(xavgs_ofp,
114 fprintf(ofp, "\n");
130 fprintf(q2dp->ofp, "%10s | ",
146 fprintf(ofp, "%10s | ", "DEV");
148 fprintf(ofp, "--------- | ");
153 fprintf(ofp, "========== | ");
155 fprintf(ofp, "%10s | ", "AVG");
157 fprintf(ofp, "\n");
186 fprintf((FILE *)arg,
198 fprintf(xavgs_ofp,
227 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total");
228 fprintf(ofp, "---------- | -------- -------- ------- | -------- -------- -------- --------\n");
231 fprintf(ofp, "---------- | -------- -------- ------- | -------- -------- -------- --------\n");
232 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total");
233 fprintf((FILE *)ofp,
241 fprintf(ofp, "\n");
267 fprintf(odp->ofp,
297 fprintf(ofp, "%10s | %9s %9s %9s %9s %9s\n",
299 fprintf(ofp, "---------- | --------- --------- --------- --------- ---------\n");
307 fprintf(ofp, "---------- | --------- --------- --------- --------- ---------\n");
308 fprintf(ofp, "%10s | %8.4lf%% %8.4lf%% %8.4lf%% %8.4lf%% %8.4lf%%\n", "Overall",
314 fprintf(ofp, "\n");
352 fprintf(ofp, "%10s | %15lld %15.1lf %15lld | %lld(%d)",
360 fprintf(ofp, "\n%10s %15s %15s %15s ...(%d more)\n", "", "", "", "", i);
407 fprintf(ofp, "%10s | %15lld %15.1lf %15lld | %lld(%d)",
411 fprintf(ofp, "\n%10s %15s %15s %15s ...(%d more)\n", "", "", "", "", nmodes-1);
414 fprintf(ofp, " %lld", m.modes[i]);
415 fprintf(ofp, "\n");
420 fprintf(xavgs_ofp,
426 fprintf(xavgs_ofp, " %lld", m.modes[i]);
427 fprintf(xavgs_ofp, "\n");
453 fprintf(ofp, "%10s | %15s %15s %15s | %-15s\n", "DEV", "NSEEKS",
455 fprintf(ofp, "---------- | --------------- --------------- --------------- | ---------------\n");
458 fprintf(ofp, "---------- | --------------- --------------- --------------- | ---------------\n");
459 fprintf(ofp, "%10s | %15s %15s %15s | %-15s\n",
462 fprintf(ofp, "\n");
464 fprintf(ofp, "\n");
472 fprintf(ofp, "%10s | %15s %15s %15s | %-15s\n", "DEV", "NSEEKS",
474 fprintf(ofp, "---------- | --------------- --------------- --------------- | ---------------\n");
477 fprintf(ofp, "---------- | --------------- --------------- --------------- | ---------------\n");
478 fprintf(ofp, "%10s | %15s %15s %15s | %-15s\n",
481 fprintf(ofp, "\n");
483 fprintf(ofp, "\n");
511 fprintf(ofp, "\n");
532 fprintf(ofp, "%10s | %10d(%10d) | %13.9lf%%\n",
537 fprintf(xavgs_ofp,
552 fprintf(ofp, "---------- | ---------- ---------- | ----------------\n");
553 fprintf(ofp, "%10s | %10s %10s | %s\n",
555 fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "Average",
583 fprintf(ofp, "%10s | %10.1lf %10.1lf\n",
588 fprintf(xavgs_ofp,
604 fprintf(ofp, "---------- | ---------- ----------\n");
605 fprintf(ofp, "%10s | %10s %10s\n",
607 fprintf(ofp, "%10s | %10.1lf %10.1lf\n",
613 fprintf(ofp, "%10s | %10s %10s | %s\n",
615 fprintf(ofp, "---------- | ---------- ---------- | ----------------\n");
619 fprintf(ofp, "\n");
621 fprintf(ofp, "%10s | %10s %10s\n",
623 fprintf(ofp, "---------- | ---------- ----------\n");
627 fprintf(ofp, "\n");
642 fprintf((FILE *)arg, "%10s | %13.1lf\n",
646 fprintf(xavgs_ofp,
659 fprintf(ofp, "---------- | -------------\n");
660 fprintf(ofp, "%10s | %13s\n", "Overall", "Avgs Reqs @ Q");
661 fprintf(ofp, "%10s | %13.1lf\n", "Average",
667 fprintf(ofp, "%10s | %13s\n", "DEV", "Avg Reqs @ Q");
668 fprintf(ofp, "---------- | -------------\n");
672 fprintf(ofp, "\n");
690 fprintf(ofp, "# BTT histogram data\n");
691 fprintf(ofp, "# Q buckets\n");
693 fprintf(ofp, "%4d %lld\n", (i+1), (long long)q_histo[i]);
694 fprintf(ofp, "\n# Q bucket for > %d\n%4d %lld\n", (int)N_HIST_BKTS-1,
704 fprintf(ofp, "# D buckets\n");
706 fprintf(ofp, "%4d %lld\n", (i+1), (long long)d_histo[i]);
707 fprintf(ofp, "\n# D bucket for > %d\n%4d %lld\n", (int)N_HIST_BKTS-1,
720 fprintf(ofp, "\n");
737 fprintf(ofp, "\n");
755 fprintf(ofp, "\n");
767 fprintf(ofp, "\n");
805 fprintf(ofp, "%13.9lf %5.1f\n", BIT_TIME(rip->start), base);
806 fprintf(ofp, "%13.9lf %5.1f\n", BIT_TIME(rip->start), limit);
807 fprintf(ofp, "%13.9lf %5.1f\n", BIT_TIME(rip->end), limit);
808 fprintf(ofp, "%13.9lf %5.1f\n", BIT_TIME(rip->end), base);
818 fprintf(ofp, "# %16s : q activity\n", header);
820 fprintf(ofp, "\n");
822 fprintf(ofp, "# %16s : c activity\n", header);
824 fprintf(ofp, "\n");
847 fprintf(ofp, "# Per device\n" );
872 fprintf(ofp, "# Per process\n" );
881 fprintf(ofp, "# %s\n", "Total System");