Forum Discussion

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

Nios II Profiler

Hi all,

I try to take Program Profile.

I did ...

- check "Link with profiling Library" on IDE sysytem library's property.

- Build Project

- Launch Nios II command-line shell

- type following 3 commands

- "nios2-download -g --cable USB-Blaster hello_world_0.elf"

- "nios2-terminal -c USB-Blaster --gmon"

- "nios2-elf-gprof hello_world_0.elf > prof.txt"

Anyway, I could get the result... but is this right way..?

Does anyone tell me more clever way to take Profile on Nios II? (IDE only if possible).

Thanks for any help.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi koma,

    I believe you have it correct. Using gprof from the IDE has been formally requested and has been passed to the Nios II IDE engineering & marketing groups as a feature request; as with any feature this will have to be prioritized along with other new features for coming releases.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Jesse,

    Thank you for your quick reply.

    I see. I'm looking forward to the future release. Thanks Developers!