Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

C::B Profiler 0.1a

(1/2) > >>

darklordsatan:
Hi folks, Ive just finished the first version of a plugin that serves as a GUI for the gprof profiler.

C::B Profiler 0.1a

Features


* User-level warnings when trying to run the plugin with no project opened, when the current target is not an executable, when the profiling data is older than the executable (not ran after rebuilding it), and when the profiling data cannot be found
* Implementation of an advanced facility to let users provide command line arguments (more in the screenie)
Gotchas


* Plugin configuration is global
* When a project with several executable targets are opened, the profiler so far tries to open the profiler with the last target
* Checkbox options do not work so far, although the text area in the last tab DOES work
Todos


* Change the output text area's style (maybe by the user too?)
* Let the user select the target to check the profiler data from
* Let the user define 2 variables : One for the alternative name to gmon.out, and another to select the full path where gmon.out (or alternative) can be found
* Provide configuration per-target
* Implement ALL of the gprof options by means of checkboxes, like shown in the screenies, for beginner users or simply for the ones that dont want to remember the parameters
* Provide tooltip for each option so that the user can easily remember what it does (already done, but somehow I screwed my .xrc so Ill have to put them back again)
* [Insert nice feature here]
Download Link (binaries/sources/instructions)
http://rapidshare.de/files/3262134/CB_Profiler_0_1_a.zip.html

Some of the configuration options
Here

Cheers

mandrav:
Very nice work :D
I will surely check this out. If you want to put it under CVS, just ask.

Yiannis.

Game_Ender:
Do plan on providing a nice view of the flat profile and the call graph? I am picturing something like kprof.

darklordsatan:

--- Quote from: Game_Ender on August 01, 2005, 03:16:28 pm ---Do plan on providing a nice view of the flat profile and the call graph? I am picturing something like kprof.

--- End quote ---
Thanks for the link. Seems rathing interesting, but (1) Im new to profiling, so Im yet to understand fully what gprof outputs, and (2) I dont have much time those days, and this is just meant to be a simple plugin. Besides, I think only probably 0.001 % of C::B users are interested in this plugin and profiling in general, so spending a lot of time on it, probably would be a total waste.

But once I get some more free time, Ill start implementing the ToDos I posted before.

tiwag:

--- Quote from: darklordsatan on August 01, 2005, 03:58:25 pm ---... I think only probably 0.001 % of C::B users are interested in this plugin and profiling in general, so spending a lot of time on it, probably would be a total waste.

--- End quote ---

i think there are a few more than your expected value :)

Navigation

[0] Message Index

[#] Next page

Go to full version