Contains functions for calculating and outputting simulation performance metrics. More...
#include <stdio.h>
#include "defines.h"
Go to the source code of this file.
Functions | |
void | perf_output_inst_report (FILE *ofile) |
Generates a performance report on an instance basis to the specified output file. |
Contains functions for calculating and outputting simulation performance metrics.
void perf_output_inst_report | ( | FILE * | ofile | ) |
Generates a performance report on an instance basis to the specified output file.
ofile | File to output report information to |
References curr_db, inst_link_s::inst, db_s::inst_head, inst_link_s::next, perf_output_inst_report_helper(), PROFILE, and PROFILE_END.
Referenced by command_score().
00137 { PROFILE(PERF_OUTPUT_INST_REPORT); 00138 00139 inst_link* instl; /* Pointer to current instance link */ 00140 00141 fprintf( ofile, "\nSIMULATION PERFORMANCE STATISTICS:\n\n" ); 00142 00143 instl = db_list[curr_db]->inst_head; 00144 while( instl != NULL ) { 00145 perf_output_inst_report_helper( ofile, instl->inst ); 00146 instl = instl->next; 00147 } 00148 00149 PROFILE_END; 00150 00151 }