Project

General

Profile

Actions

Howtos - Profiling

Windows

  • Open a "Git Bash" command line (should be in the start menu).
  • Go in d-lan/application
  • Type ./3.compile_all_components.sh --prof --clean, 'clean' is only necessary if the previous release compilation wasn't with the option '--prof'.
  • Go in d-lan/application/Core/output/release for the Core or d-lan/application/GUI/output/release for the GUI.
  • Launch the Core D-LAN.Core.exe -e
  • Do the operations you want to measure.
  • Type 'quit' to stop the Core. A file called 'gmon.out' should be created in the current folder.
  • Type gprof D-LAN.Core.exe > prof.txt. To generate a readable file. The file name can be anything you want, choose it wisely.
  • Open 'prof.txt' with a text editor.

Updated by Greg Burri over 12 years ago · 3 revisions