diff --git a/hbt/src/perf_event/BuiltinMetrics.cpp b/hbt/src/perf_event/BuiltinMetrics.cpp index 5e8f287..4222789 100644 --- a/hbt/src/perf_event/BuiltinMetrics.cpp +++ b/hbt/src/perf_event/BuiltinMetrics.cpp @@ -1938,6 +1938,22 @@ void addIntelCoreMetrics(std::shared_ptr& metrics) { 100'000'000, System::Permissions{}, std::vector{})); + + metrics->add(std::make_shared( + "HW_CORE_STALLS_NO_EXECUTE", + "Total execution stalls.", + "Total execution stalls.", + std::map{ + {std::nullopt, + EventRefs{EventRef{ + "cpu_stalls_cycles", + PmuType::cpu, + "CYCLE_ACTIVITY.STALLS_TOTAL", + EventExtraAttr{}, + {}}}}}, + 100'000'000, + System::Permissions{}, + std::vector{})); } void addUncoreMetrics(std::shared_ptr& metrics) {