From efcdecedd1c6319695929f8afbc3d3a8b03155fd Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sat, 26 Nov 2011 20:28:17 +0200 Subject: [PATCH 3/5] cpu: show more frequency states in Frequency stats Some processors (e.g. i7-2620M) show more than 10 frequency states in the Frequency stats tab. However, the tab is capped so that a maximum of 10 states are shown, leaving the most low-power states out. Increase the maximum number of states shown to 20. Reported-by: Juho Teperi Signed-off-by: Anssi Hannula --- cpu/cpu.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/cpu.cpp b/cpu/cpu.cpp index b901b87..82e138e 100644 --- a/cpu/cpu.cpp +++ b/cpu/cpu.cpp @@ -676,7 +676,7 @@ void w_display_cpu_pstates(void) if (!_core) continue; - for (line = LEVEL_HEADER; line < 10; line++) { + for (line = LEVEL_HEADER; line < 20; line++) { int first = 1; ctr = 0; linebuf[0] = 0; -- 1.7.7.2