Forum Discussion
Altera_Forum
Honored Contributor
15 years agoprinting the perf counter report
hi, did anyone experienced that sometimes you can print the report from the performance counter on the console and sometimes cant?
3 Replies
- Altera_Forum
Honored Contributor
it didnt print out anything. just stop right before the perf_print_formatted_report function. so, is it because of the problem you mentioned?
- Altera_Forum
Honored Contributor
If you're code is exiting/ending shortly after the print statement, then you could be dealing with a case where the ISR that handles stdout not being allowed to finish.
You could try adding a usleep() of a second or two just to make sure this completes. Cheers, slacker - Altera_Forum
Honored Contributor
any solutions? thanks!