[libcxx-commits] [clang-tools-extra] [clang] [libc] [flang] [libcxxabi] [libcxx] [lld] [llvm] [compiler-rt] [CSSPGO] Compute and report post-match profile staleness (PR #79090)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 27 10:40:06 PST 2024


================
@@ -433,6 +433,44 @@ using CandidateQueue =
     PriorityQueue<InlineCandidate, std::vector<InlineCandidate>,
                   CandidateComparer>;
 
+// Profile matching statstics.
+class ProfileMatchStats {
----------------
WenleiHe wrote:

I was mostly thinking about a simple struct to encapsulate different stats, while keeping most of the logic in the Matcher. But don't have strong opinion. 

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


More information about the libcxx-commits mailing list