Howtos - Profiling » History » Version 2
Greg Burri, 03/17/2011 12:13 AM
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 | 2 | Greg Burri | * Go in @d-lan/application@ |
7 | 1 | Greg Burri | * Type @./2.compile_all_components.sh --prof --clean@, 'clean' is only necessary if the previous release compilation wasn't with the option '--prof'. |
8 | 2 | Greg Burri | * Go in @d-lan/application/Core/output/release@ for the Core or @d-lan/application/GUI/output/release@ for the GUI. |
9 | * Launch the Core @D-LAN.Core.exe -e@ |
||
10 | 1 | Greg Burri | * 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 | 2 | Greg Burri | * Type @gprof D-LAN.Core.exe > prof.txt@. To generate a readable file. The file name can be anything you want, choose it wisely. |
13 | 1 | Greg Burri | * Open 'prof.txt' with a text editor. |