From 03e66d921f822e712061b810e977a66c4034cf98 Mon Sep 17 00:00:00 2001 From: chriswasser Date: Tue, 5 Nov 2024 10:30:37 +0100 Subject: [PATCH] Fix RAPL DRAM energy unit for SPR --- src/power.c | 1 - src/sysFeatures_intel_rapl.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/power.c b/src/power.c index b223925f..995e6fee 100644 --- a/src/power.c +++ b/src/power.c @@ -404,7 +404,6 @@ power_init(int cpuId) (cpuid_info.model == SKYLAKEX) || (cpuid_info.model == ICELAKEX1) || (cpuid_info.model == ICELAKEX2) || - (cpuid_info.model == SAPPHIRERAPIDS) || (cpuid_info.model == XEON_PHI_KNL) || (cpuid_info.model == XEON_PHI_KML))) { diff --git a/src/sysFeatures_intel_rapl.c b/src/sysFeatures_intel_rapl.c index 8de976e0..d2d71c85 100644 --- a/src/sysFeatures_intel_rapl.c +++ b/src/sysFeatures_intel_rapl.c @@ -502,7 +502,6 @@ static int dram_test_testFunc(uint64_t msrData, void *) (info->model == SKYLAKEX) || (info->model == ICELAKEX1) || (info->model == ICELAKEX2) || - (info->model == SAPPHIRERAPIDS) || (info->model == XEON_PHI_KNL) || (info->model == XEON_PHI_KML)) {