- struct gcov_summary summary;
-
- if (gcov_read_summary (file, &summary))
- return 1;
- printf (" checksum=0x%08x", summary.checksum);
-
- printf ("\n%s:\t\truns=%u, arcs=%u", filename,
- summary.runs, summary.arcs);
- printf ("\n%s:\t\tarc_sum=", filename);
- printf (HOST_WIDEST_INT_PRINT_DEC,
- (HOST_WIDEST_INT)summary.arc_sum);
- printf (", arc_max_one=");
- printf (HOST_WIDEST_INT_PRINT_DEC,
- (HOST_WIDEST_INT)summary.arc_max_one);
- printf ("\n%s:\t\tmax_sum=", filename);
- printf (HOST_WIDEST_INT_PRINT_DEC,
- (HOST_WIDEST_INT)summary.arc_max_sum);
- printf (", sum_max=");
- printf (HOST_WIDEST_INT_PRINT_DEC,
- (HOST_WIDEST_INT)summary.arc_sum_max);
- return 0;
+ gcov_summary summary;
+ gcov_read_summary (&summary);
+ printf (" runs=%d, sum_max=%" PRId64,
+ summary.runs, summary.sum_max);