Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Nios II Profiler

Altera_Forum
Honored Contributor II
1,013 Views

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.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
307 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
307 Views

Hi Jesse, 

Thank you for your quick reply. 

 

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