source: tags/ms_r16q2/SOURCE_TOOLS/profiling_info.txt

Last change on this file was 4506, checked in by westram, 17 years ago
  • mentioned profile_annotate.pl
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 988 bytes
Line 
1
2Short instructions how to profile ARB using valgrind
3====================================================
4
5General notes:
6--------------
7
8* most ARB programs start 2 processes -> normally simply use the bigger out file
9* aw_message can cause serious amounts of performance loss
10
11
12valgrind 3.2.0:
13---------------
14
151. run valgrind --tool=callgrind programname prog_arguments
162. perform the actions you want to get info for and terminate 'programname'
17
183a. run 'profile_annotate.pl'
19
20    or directly
21
223b. run 'callgrind_annotate --tree=both --inclusive=yes [--auto=yes] callgrind.out.xxx'
23    where xxx is the PID of the program.
24
25
26Older valgrind versions:
27------------------------
28
291. Install calltree (a valgrind extension)
302. run 'calltree --trace-children=yes programname prog_arguments'
313. perform the actions you want to get info for and terminate 'programname'
324. run 'ct_annotate --tree=both --inclusive=yes --auto=yes cachegrind.out.xxx'
33   where xxx is the PID of the program.
34
35
36
Note: See TracBrowser for help on using the repository browser.