(outf)
| 542 | */ |
| 543 | |
| 544 | void output (outf) |
| 545 | FILE *outf; |
| 546 | { |
| 547 | unsigned long int sum_calls = 0; |
| 548 | unsigned long int sum_time = 0; |
| 549 | |
| 550 | DBUG_ENTER ("output"); |
| 551 | if (n_items == 0) { |
| 552 | fprintf (outf, "%s: No functions to trace\n", my_name); |
| 553 | exit (EX_DATAERR); |
| 554 | } |
| 555 | out_header (outf); |
| 556 | out_body (outf, 0,&sum_calls,&sum_time); |
| 557 | out_trailer (outf, sum_calls,sum_time); |
| 558 | DBUG_VOID_RETURN; |
| 559 | } |
| 560 | |
| 561 | |
| 562 | #define usage() fprintf (DBUG_FILE,"Usage: %s [-v] [prof-file]\n",my_name) |
no test coverage detected