Add information on how to profile an application#100
Conversation
debugging.md
Outdated
| To profile the application we run `psp-gprof` on the `gmon.out` file like so from a terminal in the directory where the application is: | ||
|
|
||
| ```sh | ||
| psp-gprof file gmon.out |
There was a problem hiding this comment.
shouldn't be something like psp-gprof {binary_file} gmon.out better?
There was a problem hiding this comment.
So far is fine, you can also put a link to the existing examples in pspsdk/src/samples/gprof folder
There was a problem hiding this comment.
Yeah, maybe that is better. Will change it. I copied some parts for the gdb example.
There was a problem hiding this comment.
I've updated it now.
|
Application profiling is the process of analyzing how an application uses CPU, memory, disk, network, and GPU resources to identify performance bottlenecks and inefficiencies |
|
I can update it, thanks. That is good wording. I'll make another PR and tag you. |
|
On second thought, could you perhaps make a small PR with improved wording @doniwah? I feel like you'd be better suited to do so in this case. |
Lets merge this after the new changes are released. Let me know if the wording is okay like this and if I made any mistakes.