Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI used performance counter, but not able to see anything on the console. Not even the stuff which I was getting before adding the performance counter.
I followed the steps below: 1. Added Performance counter in Qsys Design. 2. Added Timer. 3. Used: PERF_RESET(); PERF_START_MEASURING(); PERF_BEGIN(); // Here is the code block to be tested. // I want to know the cycles consumed during this block. PERF_END(); PERF_STOP_MEASURING(); perf_print_formatted_report(); Please help if i am missing anything in the process.