Forum Discussion
Altera_Forum
Honored Contributor
18 years agoWhat is the meaning of Small C library
Hi, In system library properties there is option called small C library, enabling and disabling this option means what?. and also what is clean exit, what does this do?. thanks, Ana...
Altera_Forum
Honored Contributor
18 years agoBasicly, the performance counter component will calculate the time and clock taken between the time you start and stop this component. So you can use it to calculate how fast your function is, and then report it in detail, you can easily use it for performance test.
It comes with very useful API:PERF_RESET(p)
PERF_START_MEASURING(p)
PERF_STOP_MEASURING(p)
PERF_BEGIN(p,n)
PERF_END(p,n)
int perf_print_formatted_report (void* perf_base, alt_u32 clock_freq_hertz, int num_sections, ...) See attached document for more detail. Hope this will help you.