This patch improves llvm-profdata show command:
(1) add -value-cutoff=<N> option: Show only those functions whose max count
values are greater or equal to N.
(2) add -list-below-cutoff option: Only output names of functions whose max
count value are below the cutoff.
(3) formats value-profile counts and prints out percentage.
Differential Revision: https://reviews.llvm.org/D56342
llvm-svn: 350673
22 lines
101 B
Plaintext
22 lines
101 B
Plaintext
# IR level Instrumentation Flag
|
|
:ir
|
|
bar
|
|
10
|
|
2
|
|
0
|
|
0
|
|
|
|
main
|
|
16650
|
|
4
|
|
1
|
|
1000
|
|
1000000
|
|
499500
|
|
|
|
foo
|
|
10
|
|
2
|
|
999
|
|
1
|