[llvm] [SampleFDO] Stale profile call-graph matching (PR #95135)

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 16 12:09:50 PDT 2024


================
@@ -72,34 +100,55 @@ class SampleProfileMatcher {
   uint64_t MismatchedCallsiteSamples = 0;
   uint64_t RecoveredCallsiteSamples = 0;
 
+  // Profile call-graph matching statstics:
+  uint64_t NumRecoveredUnusedSamples = 0;
+  uint64_t NumRecoveredUnusedFunc = 0;
----------------
WenleiHe wrote:

Looking at the names above, how about:

`NumCallGraphRecoveredProfiledFunc`
`NumCallGraphRecoveredFuncSamples`


https://github.com/llvm/llvm-project/pull/95135


More information about the llvm-commits mailing list