162306a36Sopenharmony_ciThe cpupower package consists of the following elements: 262306a36Sopenharmony_ci 362306a36Sopenharmony_cirequirements 462306a36Sopenharmony_ci------------ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciOn x86 pciutils is needed at runtime (-lpci). 762306a36Sopenharmony_ciFor compilation pciutils-devel (pci/pci.h) and a gcc version 862306a36Sopenharmony_ciproviding cpuid.h is needed. 962306a36Sopenharmony_ciFor both it's not explicitly checked for (yet). 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_cilibcpupower 1362306a36Sopenharmony_ci---------- 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci"libcpupower" is a library which offers a unified access method for userspace 1662306a36Sopenharmony_citools and programs to the cpufreq core and drivers in the Linux kernel. This 1762306a36Sopenharmony_ciallows for code reduction in userspace tools, a clean implementation of 1862306a36Sopenharmony_cithe interaction to the cpufreq core, and support for both the sysfs and proc 1962306a36Sopenharmony_ciinterfaces [depending on configuration, see below]. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_cicompilation and installation 2362306a36Sopenharmony_ci---------------------------- 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_cimake 2662306a36Sopenharmony_cisu 2762306a36Sopenharmony_cimake install 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_cishould suffice on most systems. It builds libcpupower to put in 3062306a36Sopenharmony_ci/usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and 3162306a36Sopenharmony_cicpufreq-bench to put in /usr/sbin. If you want to set up the paths 3262306a36Sopenharmony_cidifferently and/or want to configure the package to your specific 3362306a36Sopenharmony_cineeds, you need to open "Makefile" with an editor of your choice and 3462306a36Sopenharmony_ciedit the block marked CONFIGURATION. 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ciTHANKS 3862306a36Sopenharmony_ci------ 3962306a36Sopenharmony_ciMany thanks to Mattia Dongili who wrote the autotoolization and 4062306a36Sopenharmony_cilibtoolization, the manpages and the italian language file for cpupower; 4162306a36Sopenharmony_cito Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his 4262306a36Sopenharmony_cipowernow-k8-decode and intel_gsic tools as well as the french language file; 4362306a36Sopenharmony_ciand to various others commenting on the previous (pre-)releases of 4462306a36Sopenharmony_cicpupower. 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci Dominik Brodowski 48