================
@@ -2487,29 +2574,42 @@ void SampleProfileMatcher::runOnModule() {
     errs() << "(" << NumMismatchedCallsites << "/" << TotalProfiledCallsites
            << ")"
            << " of callsites' profile are invalid and "
-           << "(" << MismatchedCallsiteSamples << "/" << TotalCallsiteSamples
+           << "(" << MismatchedCallsiteSamples << "/" << TotalFuncHashSamples
----------------
WenleiHe wrote:

Are TotalCallsiteSamples and TotalFuncHashSamples all just refer to the total 
samples of all functions in the profile? 

The name `TotalFuncHashSamples` is confusing -- when we talk about samples, it 
should not have hash as entity, instead the entities should be function or call 
sites? 

https://github.com/llvm/llvm-project/pull/79090
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to