From a40855edb362b49bc0e1157fdeee5815fa49fd51 Mon Sep 17 00:00:00 2001 From: cpt-harlock Date: Thu, 23 Jan 2025 14:24:38 +0100 Subject: [PATCH] corrected intel/amd define in cntd_t --- src/cntd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cntd.h b/src/cntd.h index 4f30768..892f22f 100644 --- a/src/cntd.h +++ b/src/cntd.h @@ -303,7 +303,7 @@ typedef struct { int userspace_governor; int nom_freq_mhz; -#ifdef INTEL +#if (defined INTEL || defined AMD) _Bool hwp_usage; int msr_fd; int energy_pkg_fd[MAX_NUM_SOCKETS];