mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Mention --num-callers more in DHAT docs.
This commit is contained in:
parent
19738d1a42
commit
b71265fbc9
@ -67,7 +67,9 @@ Valgrind use, you probably do want to turn optimisation on, since you should
|
||||
profile your program as it will be normally run.</para>
|
||||
|
||||
<para>Second, you need to run your program under DHAT to gather the profiling
|
||||
information.</para>
|
||||
information. You might need to reduce the <option>--num-callers</option> value
|
||||
to get reasonably-sized output files, especially if you are profiling a large
|
||||
program; some trial and error might be needed to find a good value.</para>
|
||||
|
||||
<para>Finally, you need to use DHAT's viewer (in a web browser) to get a
|
||||
detailed presentation of that information.</para>
|
||||
@ -146,6 +148,10 @@ built with full debugging information.</para>
|
||||
<computeroutput>dh_view.html</computeroutput>. Use the "Load" button to choose
|
||||
a DHAT output file to view.</para>
|
||||
|
||||
<para>If loading takes a long time, it might be worth re-running DHAT with a
|
||||
smaller <option>--num-callers</option> value to reduce the stack depths,
|
||||
because this can significantly reduce the size of DHAT's output files.</para>
|
||||
|
||||
|
||||
<sect2><title>The Output Header</title>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user