Unable to get gprof working

Re: Unable to get gprof working

par Andrej Gorjan,
Nombre de réponses : 0

Hello.

Thank you for the reply. I am using SDRAM, so memory size should not be an issue. Instead, it was a really stupid mistake where I would download the .elf without having a nios2 terminal open in another console. After fixing this, gprof would sometimes work (as described in another forum post), but I was getting all 0% in the report. I think the problem was my timer, since I set the period to be only 1us. According to one of the documents


so I thought a shorter period would lead to more accurate results. When I changed it to 100us like you recommended, I actually managed to get some numbers. Thank you again for the help.

Andrej Gorjan