Visible to Intel only — GUID: iga1401400282611
Ixiasoft
Visible to Intel only — GUID: iga1401400282611
Ixiasoft
37.6.6. perf_print_formatted_report()
Prototype: | int perf_print_formatted_report ( void* perf_base, alt_u32 clock_freq_hertz, int num_sections, char* section_name_1, ... char* section_name_n) |
Thread-safe: | No. |
Available from ISR: | No. |
Include: | <altera_avalon_performance_counter.h> |
Parameters: | perf_base—Performance counter core base address. clock_freq_hertz—Clock frequency. num_sections—The number of section counters to display. This must not exceed <instance_name>_HOW_MANY_SECTIONS. section_name_1 ... section_name_n—The section names to display. The number of section names varies depending on the number of sections to display. |
Returns: | 0 |
Description: | Function perf_print_formatted_report() reads the profiling results from the performance counter core, and prints a formatted summary table. This function disables all counters. However, for predictable results in a multi-threaded or interrupt environment, invoke PERF_STOP_MEASURING() when you reach the end of the code to be measured, rather than relying on perf_print_formatted_report(). |