diff options
author | njl <njl@FreeBSD.org> | 2004-06-05 07:02:18 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-06-05 07:02:18 +0000 |
commit | ed0911a65e99053de545627192b704b7769c2a53 (patch) | |
tree | f1117a369eb29ae1f55870f80e461d4b805fe949 /share | |
parent | 9b15e9628d0f5c31c507bf780cd65aecce4c2614 (diff) | |
download | FreeBSD-src-ed0911a65e99053de545627192b704b7769c2a53.zip FreeBSD-src-ed0911a65e99053de545627192b704b7769c2a53.tar.gz |
Rework acpi_cpu_idle() to select the next idle state before sleeping, not
after. Unify the paths for all Cx states. Remove cpu_idle_busy and
instead do the little profiling we need before re-enabling interrupts.
Use 1 quantum as estimate for C1 sleep duration since the timer interrupt
is the main reason we wake.
While here, change the cx_history sysctl to cx_usage and report statistics
for which idle states were used in terms of percent. This seems more
intuitive than counters. Remove the cx_stats structure since it's no
longer used. Update the man page.
Change various types which do not need explicit size.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/acpi.4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4 index 8f47880..003eb57 100644 --- a/share/man/man4/acpi.4 +++ b/share/man/man4/acpi.4 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 2, 2001 +.Dd June 4, 2004 .Dt ACPI 4 .Os .Sh NAME @@ -359,10 +359,9 @@ Maximum value for CPU throttling, equal to 100% of the clock rate. Get or set the current throttling state, from 1 to .Va hw.acpi.cpu.throttle_max . This scales back the CPU clock rate and the corresponding power consumption. -.It Va hw.acpi.cpu.cx_history -Debugging information listing all sleep states and the number of -long and short sleeps for each one. -The counters are reset when +.It Va hw.acpi.cpu.cx_usage +Debugging information listing the percent of total usage for each sleep state. +The values are reset when .Va hw.acpi.cpu.cx_lowest is modified. .It Va hw.acpi.cpu.cx_lowest |