blob: 1c68f47663b251edbced85b89ae5ac675247ebb0 [file] [log] [blame]
Ramkumar Ramachandradb262ea2014-05-13 12:41:39 +02001The cpupower package consists of the following elements:
Dominik Brodowski7fe2f632011-03-30 16:30:11 +02002
3requirements
4------------
5
6On x86 pciutils is needed at runtime (-lpci).
7For compilation pciutils-devel (pci/pci.h) and a gcc version
8providing cpuid.h is needed.
9For both it's not explicitly checked for (yet).
10
11
Ramkumar Ramachandraa504c022014-05-13 12:41:38 +020012libcpupower
Dominik Brodowski7fe2f632011-03-30 16:30:11 +020013----------
14
Ramkumar Ramachandraa504c022014-05-13 12:41:38 +020015"libcpupower" is a library which offers a unified access method for userspace
Dominik Brodowski7fe2f632011-03-30 16:30:11 +020016tools and programs to the cpufreq core and drivers in the Linux kernel. This
17allows for code reduction in userspace tools, a clean implementation of
18the interaction to the cpufreq core, and support for both the sysfs and proc
19interfaces [depending on configuration, see below].
20
21
22compilation and installation
23----------------------------
24
25make
26su
27make install
28
Ramkumar Ramachandradb262ea2014-05-13 12:41:39 +020029should suffice on most systems. It builds libcpupower to put in
30/usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and
31cpufreq-bench to put in /usr/sbin. If you want to set up the paths
32differently and/or want to configure the package to your specific
33needs, you need to open "Makefile" with an editor of your choice and
34edit the block marked CONFIGURATION.
Dominik Brodowski7fe2f632011-03-30 16:30:11 +020035
36
37THANKS
38------
39Many thanks to Mattia Dongili who wrote the autotoolization and
Ramkumar Ramachandraa504c022014-05-13 12:41:38 +020040libtoolization, the manpages and the italian language file for cpupower;
Dominik Brodowski7fe2f632011-03-30 16:30:11 +020041to Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his
42powernow-k8-decode and intel_gsic tools as well as the french language file;
43and to various others commenting on the previous (pre-)releases of
Ramkumar Ramachandraa504c022014-05-13 12:41:38 +020044cpupower.
Dominik Brodowski7fe2f632011-03-30 16:30:11 +020045
46
47 Dominik Brodowski