набор инструментов для отладки и профилирования программ (a suite of tools for debugging and profiling programs)
BBV OPTIONS
--bb-out-file=<name> [default: bb.out.%p]
This option selects the name of the basic block vector file.
The %p
and %q
format specifiers can be used to embed the
process ID and/or the contents of an environment variable in
the name, as is the case for the core option --log-file
.
--pc-out-file=<name> [default: pc.out.%p]
This option selects the name of the PC file. This file holds
program counter addresses and function name info for the
various basic blocks. This can be used in conjunction with
the basic block vector file to fast-forward via function
names instead of just instruction counts. The %p
and %q
format specifiers can be used to embed the process ID and/or
the contents of an environment variable in the name, as is
the case for the core option --log-file
.
--interval-size=<number> [default: 100000000]
This option selects the size of the interval to use. The
default is 100 million instructions, which is a commonly used
value. Other sizes can be used; smaller intervals can help
programs with finer-grained phases. However smaller interval
size can lead to accuracy issues due to warm-up effects (When
fast-forwarding the various architectural features will be
un-initialized, and it will take some number of instructions
before they "warm up" to the state a full simulation would be
at without the fast-forwarding. Large interval sizes tend to
mitigate this.)
--instr-count-only [default: no]
This option tells the tool to only display instruction count
totals, and to not generate the actual basic block vector
file. This is useful for debugging, and for gathering
instruction count info without generating the large basic
block vector files.