Lines Matching defs:out
396 FILE *out = os->fh;
403 fprintf(out, "%-*s", METRIC_LEN, "");
410 n = fprintf(out, " # ");
412 n += color_fprintf(out, color, fmt, val);
414 n += fprintf(out, fmt, val);
415 fprintf(out, " %-*s", METRIC_LEN - n - 1, unit);
434 FILE *out = os->fh;
438 fprintf(out, "%s%s", config->csv_sep, config->csv_sep);
446 fprintf(out, "%s%s%s%s", config->csv_sep, vals, config->csv_sep, skip_spaces(unit));
456 FILE *out = os->fh;
458 fprintf(out, "\"metric-value\" : \"%f\", ", val);
459 fprintf(out, "\"metric-unit\" : \"%s\"", unit);
461 fprintf(out, "}");
522 /* Filter out some columns that don't work well in metrics only mode */
550 FILE *out = os->fh;
564 fprintf(out, "%*s ", mlen, str);
574 FILE *out = os->fh;
586 fprintf(out, "%s%s", vals, config->csv_sep);
596 FILE *out = os->fh;
610 fprintf(out, "%s\"%s\" : \"%s\"", os->first ? "" : ", ", unit, vals);
770 struct perf_stat_output_ctx out;
809 out.print_metric = pm;
810 out.new_line = nl;
811 out.print_metricgroup_header = pmh;
812 out.ctx = os;
813 out.force_header = false;
827 /* Print out all the metricgroup with the same metric event. */
831 /* Print out the new line for the next new metricgroup. */
842 &num, from, &out,
847 &out, &config->metric_events);
1188 struct perf_stat_output_ctx out = {
1214 &out,