[PATCH] D94111: [CSSPGO][llvm-profgen] Merge and trim profile for cold context to reduce profile size
Hongtao Yu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 10:00:40 PST 2021
hoy accepted this revision.
hoy added inline comments.
================
Comment at: llvm/tools/llvm-profgen/ProfileGenerator.cpp:33
+ "csprof-cold-thres", cl::init(100), cl::ZeroOrMore,
+ cl::desc("Specified the total samples threshold for a context profile to "
+ "be considered cold, any cold profiles will be merged into "
----------------
Nit: Specify
I was wondering in the future if we'd like a consistent way of computing cold threshold with `SampleProfileSummaryBuilder`, i.e., counts below 99.9% (aka cut-off) are considered cold, so that the profile generator and the profile consumer will be on the same page.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94111/new/
https://reviews.llvm.org/D94111
More information about the llvm-commits
mailing list