From 82155df0d56697b72739242308b9a028d918847c Mon Sep 17 00:00:00 2001 From: Kenji Kaneshige Date: Mon, 23 May 2005 19:50:32 +0900 Subject: [PATCH] --- yaml --- r: 1756 b: refs/heads/master c: 7a8cb869f31de525bc34095f51f8c8a43ffcb6a9 h: refs/heads/master v: v3 --- [refs] | 2 +- .../Documentation/cpu-freq/cpufreq-stats.txt | 128 ---- trunk/arch/h8300/kernel/process.c | 2 +- trunk/arch/i386/kernel/cpu/cpufreq/Kconfig | 14 +- trunk/arch/i386/kernel/cpu/cpufreq/Makefile | 1 - trunk/arch/i386/kernel/cpu/cpufreq/longhaul.c | 58 +- .../i386/kernel/cpu/cpufreq/powernow-k7.c | 11 +- .../i386/kernel/cpu/cpufreq/powernow-k8.c | 113 ++-- .../i386/kernel/cpu/cpufreq/powernow-k8.h | 15 - .../arch/i386/kernel/cpu/cpufreq/sc520_freq.c | 186 ------ .../kernel/cpu/cpufreq/speedstep-centrino.c | 6 - .../i386/kernel/cpu/cpufreq/speedstep-lib.c | 6 +- .../i386/kernel/cpu/cpufreq/speedstep-smi.c | 3 - trunk/arch/i386/kernel/setup.c | 2 - trunk/arch/i386/kernel/timers/common.c | 6 +- trunk/arch/i386/kernel/timers/timer_tsc.c | 20 - trunk/arch/ppc/syslib/prom_init.c | 10 - trunk/arch/ppc64/kernel/pSeries_reconfig.c | 8 + trunk/arch/ppc64/kernel/prom_init.c | 10 +- trunk/arch/ppc64/kernel/time.c | 2 + trunk/arch/x86_64/Kconfig | 1 - trunk/arch/x86_64/kernel/io_apic.c | 1 - trunk/arch/x86_64/kernel/mpparse.c | 1 - trunk/arch/x86_64/kernel/time.c | 2 - trunk/drivers/cpufreq/Kconfig | 24 - trunk/drivers/cpufreq/Makefile | 1 - trunk/drivers/cpufreq/cpufreq.c | 8 +- trunk/drivers/cpufreq/cpufreq_conservative.c | 586 ------------------ trunk/drivers/cpufreq/cpufreq_ondemand.c | 180 +++--- trunk/drivers/cpufreq/cpufreq_stats.c | 47 +- trunk/drivers/firmware/pcdp.c | 1 - trunk/drivers/pci/hotplug/shpchprm_acpi.c | 2 +- trunk/fs/proc/proc_devtree.c | 105 ++-- trunk/fs/udf/udftime.c | 2 +- trunk/include/asm-i386/timer.h | 1 - trunk/include/asm-ppc64/prom.h | 13 +- trunk/include/linux/cpufreq.h | 2 +- trunk/kernel/module.c | 6 - 38 files changed, 256 insertions(+), 1330 deletions(-) delete mode 100644 trunk/Documentation/cpu-freq/cpufreq-stats.txt delete mode 100644 trunk/arch/i386/kernel/cpu/cpufreq/sc520_freq.c delete mode 100644 trunk/drivers/cpufreq/cpufreq_conservative.c diff --git a/[refs] b/[refs] index 0e462ff1cc70..a112a2555584 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5f64f73957f6cae3222f97f2599199ee562f7f3f +refs/heads/master: 7a8cb869f31de525bc34095f51f8c8a43ffcb6a9 diff --git a/trunk/Documentation/cpu-freq/cpufreq-stats.txt b/trunk/Documentation/cpu-freq/cpufreq-stats.txt deleted file mode 100644 index e2d1e760b4ba..000000000000 --- a/trunk/Documentation/cpu-freq/cpufreq-stats.txt +++ /dev/null @@ -1,128 +0,0 @@ - - CPU frequency and voltage scaling statictics in the Linux(TM) kernel - - - L i n u x c p u f r e q - s t a t s d r i v e r - - - information for users - - - - Venkatesh Pallipadi - -Contents -1. Introduction -2. Statistics Provided (with example) -3. Configuring cpufreq-stats - - -1. Introduction - -cpufreq-stats is a driver that provices CPU frequency statistics for each CPU. -This statistics is provided in /sysfs as a bunch of read_only interfaces. This -interface (when configured) will appear in a seperate directory under cpufreq -in /sysfs (/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU. -Various statistics will form read_only files under this directory. - -This driver is designed to be independent of any particular cpufreq_driver -that may be running on your CPU. So, it will work with any cpufreq_driver. - - -2. Statistics Provided (with example) - -cpufreq stats provides following statistics (explained in detail below). -- time_in_state -- total_trans -- trans_table - -All the statistics will be from the time the stats driver has been inserted -to the time when a read of a particular statistic is done. Obviously, stats -driver will not have any information about the the frequcny transitions before -the stats driver insertion. - --------------------------------------------------------------------------------- -:/sys/devices/system/cpu/cpu0/cpufreq/stats # ls -l -total 0 -drwxr-xr-x 2 root root 0 May 14 16:06 . -drwxr-xr-x 3 root root 0 May 14 15:58 .. --r--r--r-- 1 root root 4096 May 14 16:06 time_in_state --r--r--r-- 1 root root 4096 May 14 16:06 total_trans --r--r--r-- 1 root root 4096 May 14 16:06 trans_table --------------------------------------------------------------------------------- - -- time_in_state -This gives the amount of time spent in each of the frequencies supported by -this CPU. The cat output will have "