Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 22:15:23 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        current@freebsd.org
Subject:   acpi_cpu printf
Message-ID:  <Pine.BSF.4.21.0301202214370.64259-100000@root.org>

next in thread | raw e-mail | index | archive | help
How is this?

--- acpi_cpu.c  16 Oct 2002 17:28:52 -0000      1.14
+++ acpi_cpu.c  21 Jan 2003 06:07:43 -0000
@@ -295,8 +295,10 @@
     /* set initial speed */
     acpi_cpu_power_profile(NULL);
     
-    printf("acpi_cpu: CPU throttling enabled, %d steps from 100%% to %d.%d%%\n",
-          CPU_MAX_SPEED, CPU_SPEED_PRINTABLE(1));
+    printf("acpi_cpu: throttling enabled, %d steps from 100%% to %d.%d%%, " 
+          "currently %d.%d%%\n"
+          CPU_MAX_SPEED, CPU_SPEED_PRINTABLE(1),
+          CPU_SPEED_PRINTABLE(cpu_current_state));
 }
 
 /*



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301202214370.64259-100000>