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