Project

General

Profile

Howtos - Profiling » History » Revision 2

Revision 1 (Greg Burri, 01/26/2011 02:57 PM) → Revision 2/3 (Greg Burri, 03/17/2011 12:13 AM)

h1. Howtos - Profiling 

 h2. Windows 

 * Open a "Git Bash" command line (should be in the start menu). 
 * Go in @d-lan/application@ @aybabtu/application@ 
 * Type @./2.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@ @aybabtu/application/Core/output/release@ for the Core or @d-lan/application/GUI/output/release@ @aybabtu/application/GUI/output/release@ for the GUI. 
 * Launch the Core @D-LAN.Core.exe @AybabtuCore.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 AybabtuCore.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.