aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-08-03 23:42:58 +0000
committerTeresa Johnson <tejohnson@google.com>2017-08-03 23:42:58 +0000
commit8482e56920780be8146b4088ec21502d00b9e440 (patch)
tree00dfc2477bb32dd29fe68a06e61663fb1a613e5d /llvm/tools/llvm-cov/SourceCoverageView.cpp
parenta176cc5b93075eec2bfdaf6c357b1ba216aab006 (diff)
downloadllvm-8482e56920780be8146b4088ec21502d00b9e440.zip
llvm-8482e56920780be8146b4088ec21502d00b9e440.tar.gz
llvm-8482e56920780be8146b4088ec21502d00b9e440.tar.bz2
Use profile summary to disable peeling for huge working sets
Summary: Detect when the working set size of a profiled application is huge, by comparing the number of counts required to reach the hot percentile in the profile summary to a large threshold*. When the working set size is determined to be huge, disable peeling to avoid bloating the working set further. *Note that the selected threshold (15K) is significantly larger than the largest working set value in SPEC cpu2006 (which is gcc at around 11K). Reviewers: davidxl Subscribers: mehdi_amini, mzolotukhin, eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D36288 llvm-svn: 310005
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions