Howtos - Profiling » History » Version 1
Greg Burri, 01/26/2011 02:57 PM
1 | 1 | Greg Burri | h1. Howtos - Profiling |
---|---|---|---|
2 | |||
3 | h2. Windows |
||
4 | |||
5 | * Open a "Git Bash" command line (should be in the start menu). |
||
6 | * Go in @aybabtu/application@ |
||
7 | * Type @./2.compile_all_components.sh --prof --clean@, 'clean' is only necessary if the previous release compilation wasn't with the option '--prof'. |
||
8 | * Go in @aybabtu/application/Core/output/release@ for the Core or @aybabtu/application/GUI/output/release@ for the GUI. |
||
9 | * Launch the Core @AybabtuCore.exe -e@ |
||
10 | * Do the operations you want to measure. |
||
11 | * Type 'quit' to stop the Core. A file called 'gmon.out' should be created in the current folder. |
||
12 | * Type @gprof AybabtuCore.exe > prof.txt@. To generate a readable file. The file name can be anything you want, choose it wisely. |
||
13 | * Open 'prof.txt' with a text editor. |