projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[llvm-profdata] Add support for weighted merge of profile data
[oota-llvm.git]
/
docs
/
CommandGuide
/
llvm-profdata.rst
diff --git
a/docs/CommandGuide/llvm-profdata.rst
b/docs/CommandGuide/llvm-profdata.rst
index 210826a7babcd5a26059bb0261ae76fece5341e9..a4b18f301e427f939fe8811fd5044344f2a456ee 100644
(file)
--- a/
docs/CommandGuide/llvm-profdata.rst
+++ b/
docs/CommandGuide/llvm-profdata.rst
@@
-28,7
+28,7
@@
MERGE
SYNOPSIS
^^^^^^^^
SYNOPSIS
^^^^^^^^
-:program:`llvm-profdata merge` [*options*] [*filename
s
...*]
+:program:`llvm-profdata merge` [*options*] [*filename
[:weight]
...*]
DESCRIPTION
^^^^^^^^^^^
DESCRIPTION
^^^^^^^^^^^
@@
-37,6
+37,10
@@
DESCRIPTION
generated by PGO instrumentation and merges them together into a single
indexed profile data file.
generated by PGO instrumentation and merges them together into a single
indexed profile data file.
+The profile counts in each input file can be scaled (multiplied) by specifying
+``<filename>:<weight>``, where `<weight>` is a decimal integer >= 1.
+A default weight of 1 is assumed if only `<filename>` is given.
+
OPTIONS
^^^^^^^
OPTIONS
^^^^^^^