OSDN Git Service

tools/power/x86/intel-speed-select: Change mem-frequency display name
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 9 Aug 2023 15:53:04 +0000 (08:53 -0700)
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 9 Aug 2023 15:57:32 +0000 (08:57 -0700)
The mem-frequency displayed by each profile is not the actual memory
frequency of DIMMs, but the maximum the CPU can support.

Change the mem-frequency field to max-mem-frequency.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
tools/power/x86/intel-speed-select/isst-display.c

index 0403d42..14c9b03 100644 (file)
@@ -442,7 +442,7 @@ void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level
                }
 
                if (ctdp_level->mem_freq) {
-                       snprintf(header, sizeof(header), "mem-frequency(MHz)");
+                       snprintf(header, sizeof(header), "max-mem-frequency(MHz)");
                        snprintf(value, sizeof(value), "%d",
                                 ctdp_level->mem_freq);
                        format_and_print(outf, level + 2, header, value);