Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

printing 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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?