C language > Expert questions

Profiling

<< < (2/2)

Grincheux:
Thanks Stefan, that's what I thought. Pelle's Profiler does not have many option but it speaks about a log file that I don't find.
Have a good day

John Z:
Using the profiler from within the IDE has more capability I think.
You should set the project to the DEBUG mode and for debug options choose just Line Number - not full debug.
Note that I have found an instance where a program builds and runs fine w/o Debug enabled, but fails to build with Debug - I haven't delved into why yet....

Then set Profiler options under 'Tools', 'Options' then 'Profiler'.

When Profile is run the output will be in the IDE as a new window tab strangely named Profiler  :)

John Z

Stefan Pendl:
The Pelles C documentation seems to offer all information needed for profiling.
As John says, using the profiler of the IDE is easier and doesn't need any prerequisites.
Searching the documentation for profiler will show all sections needed to utilize the profiler.
The old external profiler will create a log file named like the executable with a prf extension, see the documentation about profiling libraries.

Navigation

[0] Message Index

[*] Previous page

Go to full version