[PATCH] D67377: [PGO][PGSO] ProfileSummary changes.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 11:52:14 PDT 2019


davidxl added a comment.

It is useful to have generic interface like isHotCountNthPercentile(..)  to check if a count is hot relative to a given percentile cutoff.   In theory, PGSO does not have a fixed hotness threshold as it depends on workingset size.    If we partition working set size into ranges like small, medium, large, huge, then PGSO can use different hotness thresholds based on that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67377/new/

https://reviews.llvm.org/D67377





More information about the llvm-commits mailing list