Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Profiling 9 years 10 months ago #6639

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Do you have a plan to include a profiling tool in CT?
For example FPProfiler ?
I tried to select gprof option in the project options dialog without success (I'm using Windows version of CT).

Regards
Luca

Please Log in or Create an account to join the conversation.

Profiling 9 years 10 months ago #6641

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
We will Try
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Profiling 9 years 10 months ago #6642

  • lag.co.nr
  • lag.co.nr's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
@Luca

I tried to select gprof option in the project options dialog without success

Try following these steps:
1) Check "Project/Project_options/Compiler_options/Debugging/Generate_code_for_gprof"
2) Build your application.
3) Run the executable file(it's better to run it outside IDE).
4) Close the application that you've just runned and look for a new file("gmon.out") that's created,most likely, in the same directory as the executable. If your application ends up with an error, the file "gmon.out" won't be wrtitten to disk.
5) Run "gprof executablefilename > profilestats.txt" within the same directory as "gmon.out" and executablefilename are. This will take some time(minutes).
6) Open the "profilestats.txt" file to see some stats.

Note: I'm not sure gprof works great with multithreaded applications.

Please Log in or Create an account to join the conversation.

Profiling 9 years 10 months ago #6643

  • Luca
  • Luca's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 33
  • Thank you received: 2
Thanks for reply.
Cannot compile if I select gprof. I read some topics but it's seems there are some issues in windows.
I installed Gwin and the other libraries but problem in compilation still remains.
Regards


Luca

Please Log in or Create an account to join the conversation.

Last edit: by Luca.
  • Page:
  • 1