News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Where to Download Code Profiler Plugin?

Started by WeakPeak, October 07, 2010, 08:29:28 PM

Previous topic - Next topic

WeakPeak

I was searching for the download destination of the Code Profiler plugin but i can not find it.

i am using C::B 10.05 rev. 6283

thx in advance

Jenna

It's part of the contrib-plugins, how to install them depends on your OS.

WeakPeak

i found it ... here:

http://svn.berlios.de/wsvn/codeblocks/branches/release-10.05/src/plugins/contrib/profiler

need to install tortoisen first...

i am using windows and used the C::B installer with minGW and GCC.


Jenna

If you use the windows installer for C::B 10.05 release, you just have to rerun it and chose to install the code-profiler plugin.

WeakPeak

i did that but also if i set the profile flag in options for debug, release and general for the project it prints me out that i have to set "profile code when executed"..

and the program :

Program exited normally.
Debugger finished with status 0


so its not the same problem like this guy

http://forums.next.codeblocks.org/index.php?topic=427.0

had...

stahta01

Did you RE-Compile your Source Code?
Then run it?

Just checking the simply things; I do not know enough for the complex profile issues.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

WeakPeak

yes, i debugged it again before using the profiler...

just right now i added a useless line of code and builded it again.. same problem

WeakPeak

mingw32-g++.exe -Wall -pg  -pg -g  -march=core2 -pg   -I"C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\irrlicht-1.7.1\include"  -c "C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp" -o obj\Debug\src\shipObject.o
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp: In constructor 'irr::scene::shipObject::shipObject(irr::IrrlichtDevice*, irr::scene::ISceneNode*, irr::scene::ISceneManager*, irr::s32, irr::scene::IMesh*, irr::scene::IMesh*, irr::core::list<irr::core::vector3d<float> >, irr::core::list<irr::core::vector3d<float> >, irr::video::IVideoDriver*, irr::scene::ISceneNode*)':
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp:128: warning: unused variable 'timer'
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp: In member function 'virtual void irr::scene::shipObject::render()':
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp:339: warning: statement has no effect
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp:528: warning: statement has no effect
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp:344: warning: unused variable 'explosionFlag'
C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\code blocks projects\skybox\first_blender_test\src\shipObject.cpp:371: warning: unused variable 'ITCounter'
mingw32-g++.exe -L"C:\Dokumente und Einstellungen\Administrator.SHOCKWAVE\Eigene Dateien\irrlicht-1.7.1\lib\Win32-gcc"  -o bin\Debug\first_blender_test.exe obj\Debug\CSceneNodeAnimatorTextureII.o obj\Debug\main.o obj\Debug\rtscamera.o obj\Debug\src\CCloudFactory.o obj\Debug\src\shipObject.o obj\Debug\CBeamSceneNode.o   -pg -lgmon -pg -lgmon -pg -lgmon  -lIrrlicht -lopengl32 -lglu32 -lgdi32
Output size is 2,51 MB
Process terminated with status 0 (0 minutes, 3 seconds)
0 errors, 5 warnings



this is the full compiler output

WeakPeak

ok i now have a gmon.out file... needed to run the compiled .exe file from outside code::blocks

stahta01

Quote from: WeakPeak on October 07, 2010, 11:25:59 PM
ok i now have a gmon.out file... needed to run the compiled .exe file from outside code::blocks


You might have to; but, I only had to run the program from inside Code::Blocks. Note: I did NOT say Debug the program.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]