User forums > Using Code::Blocks

[SOLVED ]how to insert gprof in codeblocks

(1/2) > >>

serge17:
Hello

I use Windows 7 and I recently installed codebloks-10.05mingw. I Compiled a small program with the-pg option and I got the file gmon.out . My problem is to read it with gprof. If gprof is not in the package,  how can I insert it in CodeBlocks  ?

Thanks by advance

Alpha:
Based on your setup, I would guess that gprof already exists in a path similar to C:\Program Files\CodeBlocks\MinGW\bin.  You could test by running Plugins->Code profiler while your project is open.

serge17:
Hello Alpha

I found gprof.exe in C\...  : so it is in the package. But I don’t know what to do with.
I don’t understand what you mean by  "running Plugins->Code profiler"
In the menu, I see  Plugins  but when opened I see
    Source code formatter
   Windows XP Look’n Fell
   -------------------------------
   Manage plugins

I tried Manage plugins -> Install new but it looks for file *.cbplugin

Regards   

oBFusCATed:
You have to install the contrib plugins, probably, their are not installed by default.

serge17:
Hello

Great ! Now, I understand  "running Plugins->Code profiler".
I found  Code profiler  in the  contrib plugins  but this leads to a new question :
Where to download it ? Do you know a trusted address ?  I looked for for a while !

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version