[PATCH] D79951: [ProfileSummary] Add the PartialProfileRatio field in ProfileSummary metadata.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 14 11:23:34 PDT 2020


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added subscribers: hiraditya, eraman.
Herald added a project: LLVM.
yamauchi added a parent revision: D79831: [PGO] Improve the working set size heuristics under the partial sample PGO..

PartialProfileRatio approximately represents the ratio of the number of profile
counters of the program being built to the number of profile counters in the
partial sample profile. It is used to scale the working set size under the
partial sample profile to reflect the size of the program being built and to
improve the working set size heuristics.

This is a split from D79831 <https://reviews.llvm.org/D79831>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79951

Files:
  llvm/include/llvm/IR/ProfileSummary.h
  llvm/lib/IR/ProfileSummary.cpp
  llvm/test/Transforms/PGOProfile/unreachable_bb.ll
  llvm/unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79951.264035.patch
Type: text/x-patch
Size: 12770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200514/30afa58d/attachment.bin>


More information about the llvm-commits mailing list