Skip to content

Commit

Permalink
Add stalls_no_execute_mhz to Intel SPR & ICL (#329)
Browse files Browse the repository at this point in the history
Summary:

Title

Reviewed By: bigzachattack

Differential Revision: D66593706
  • Loading branch information
williamsumendap authored and facebook-github-bot committed Dec 12, 2024
1 parent 7570766 commit f255285
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions hbt/src/perf_event/BuiltinMetrics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1938,6 +1938,22 @@ void addIntelCoreMetrics(std::shared_ptr<Metrics>& metrics) {
100'000'000,
System::Permissions{},
std::vector<std::string>{}));

metrics->add(std::make_shared<MetricDesc>(
"HW_CORE_STALLS_NO_EXECUTE",
"Total execution stalls.",
"Total execution stalls.",
std::map<TOptCpuArch, EventRefs>{
{std::nullopt,
EventRefs{EventRef{
"cpu_stalls_cycles",
PmuType::cpu,
"CYCLE_ACTIVITY.STALLS_TOTAL",
EventExtraAttr{},
{}}}}},
100'000'000,
System::Permissions{},
std::vector<std::string>{}));
}

void addUncoreMetrics(std::shared_ptr<Metrics>& metrics) {
Expand Down

0 comments on commit f255285

Please sign in to comment.