Home | History | Annotate | Download | only in gprof

Lines Matching refs:ofp

205 /* Write all basic-blocks with non-zero counts to file OFP.  FILENAME
206 is the name of OFP and is provided for producing error-messages
209 bb_write_blocks (FILE *ofp, const char *filename)
224 if (gmon_io_write_8 (ofp, GMON_TAG_BB_COUNT)
225 || gmon_io_write_32 (ofp, nblocks))
236 if (gmon_io_write_vma (ofp, sym->bb_addr[i])
237 || gmon_io_write_vma (ofp, (bfd_vma) sym->bb_calls[i]))
468 FILE *ofp;
538 ofp = annotate_source (sf, 16, annotate_with_count, sf);
539 if (!ofp)
544 fprintf (ofp, _("\n\nTop %d Lines:\n\n Line Count\n\n"),
561 fprintf (ofp, "%9d %10lu\n", sym->line_num, sym->ncalls);
568 fprintf (ofp, _("\nExecution Summary:\n\n"));
569 fprintf (ofp, _("%9ld Executable lines in this file\n"),
571 fprintf (ofp, _("%9ld Lines executed\n"), num_lines_executed);
572 fprintf (ofp, _("%9.2f Percent of the file executed\n"),
576 fprintf (ofp, _("\n%9lu Total number of line executions\n"),
578 fprintf (ofp, _("%9.2f Average executions per line\n"),
583 if (ofp != stdout)
584 fclose (ofp);