llvm-project/llvm/lib/ProfileData
Taewook Oh a960f89962 [ProfileSummary] Count callsite samples when computing total samples.
Summary: Currently ProfileSummaryBuilder doesn't count into callsite samples when computing total samples. Considering that ProfileSummaryInfo is used to checked the hotness of not only body samples but also callsite samples (from SampleProfileLoader), I think the callsite sample counts should be considered when computing total samples.

Reviewers: eraman, danielcdh, wmi

Subscribers: hiraditya, jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59835

llvm-svn: 357627
2019-04-03 19:54:43 +00:00
..
Coverage [llvm-cov] Fix llvm-cov on Windows and un-XFAIL test 2019-02-26 02:30:00 +00:00
CMakeLists.txt GCOV: Move GCOV from IR & Support into ProfileData to fix layering 2017-11-03 20:57:10 +00:00
GCOV.cpp [llvm-cov] Add support for gcov --hash-filenames option 2019-02-19 20:45:00 +00:00
InstrProf.cpp Recommit r354930 "[PGO] Context sensitive PGO (part 1)" 2019-02-27 17:24:33 +00:00
InstrProfReader.cpp [PGO] Context sensitive PGO (part 4) 2019-03-06 19:31:37 +00:00
InstrProfWriter.cpp [ProfileData] Sort FuncData before iteration to remove non-determinism 2019-03-02 00:47:43 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProfileSummaryBuilder.cpp [ProfileSummary] Count callsite samples when computing total samples. 2019-04-03 19:54:43 +00:00
SampleProf.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SampleProfReader.cpp [SampleFDO] add suffix elision control for fcn names 2019-03-14 13:56:49 +00:00
SampleProfWriter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00