[llvm-branch-commits] [llvm] [llvm-exegesis] Add support for validation counters (PR #76653)

Clement Courbet via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 10 01:02:19 PST 2024


================
@@ -112,9 +116,11 @@ class Counter {
   PerfEvent Event;
   int FileDescriptor = -1;
   bool IsDummyEvent;
+  std::vector<PerfEvent> ValidationEvents;
----------------
legrosbuffle wrote:

This is a bit weird, because the class `Counter` now holds several perf events. If we need several counters, we shoul dbe creating several `Counter` instances.

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


More information about the llvm-branch-commits mailing list