aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2019-01-09 20:10:27 +0000
committerEaswaran Raman <eraman@google.com>2019-01-09 20:10:27 +0000
commitb45994b843fdf6d150a188f3ad1ffce89794a31e (patch)
tree39ee78b157d7811901ffe6827ba4d3ea087df5e8 /lldb/scripts/Python/python-wrapper.swig
parent39287e759f9a2a53050d70b9b34b4be14f09d1e3 (diff)
downloadllvm-b45994b843fdf6d150a188f3ad1ffce89794a31e.zip
llvm-b45994b843fdf6d150a188f3ad1ffce89794a31e.tar.gz
llvm-b45994b843fdf6d150a188f3ad1ffce89794a31e.tar.bz2
Refactor synthetic profile count computation. NFC.
Summary: Instead of using two separate callbacks to return the entry count and the relative block frequency, use a single callback to return callsite count. This would allow better supporting hybrid mode in the future as the count of callsite need not always be derived from entry count (as in sample PGO). Reviewers: davidxl Subscribers: mehdi_amini, steven_wu, dexonsmith, dang, llvm-commits Differential Revision: https://reviews.llvm.org/D56464 llvm-svn: 350755
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions