Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /homepages/6/d119017636/htdocs/phc/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /homepages/6/d119017636/htdocs/phc/wiki/inc/cache.php:289) in /homepages/6/d119017636/htdocs/phc/wiki/inc/auth.php on line 295

Strict Standards: Only variables should be passed by reference in /homepages/6/d119017636/htdocs/phc/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /homepages/6/d119017636/htdocs/phc/wiki/inc/cache.php:289) in /homepages/6/d119017636/htdocs/phc/wiki/inc/actions.php on line 154
phc_interface_description [PHCwiki]
 

This defines the Interface style used for PHC.

General Description

The interface is realized as files within the sysfs directory.
The files are stored in /sys/devices/system/cpu/cpu[0..n]/cpufreq/ for each CPU that is recognized by the cpu driver.

Example:
ls -Al /sys/devices/system/cpu/cpu0/cpufreq/phc*
-rw-r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
-r–r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_default_controls
-r–r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_default_vids
-r–r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_fids
-r–r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_version
-rw-r–r– 1 root root 4096 2009-07-05 15:47 /sys/devices/system/cpu/cpu0/cpufreq/phc_vids

Interface Description Version 0.4

File Name Permissions Used for
phc_version 444 Read used PHC patch version
phc_default_controls 444 Read initial (default) FID:VID pairs
phc_default_fids 444 Read default FIDs
phc_default_vids 444 Read default VIDs
phc_controls 644 Read and Write (add new) FID:VID pairs
phc_fids 644 Read and Write (add new) FIDs
phc_vids 644 Read and Write VIDs
phc_available_fids 444 Read all available FIDs

Interface Description Version 0.3

File Name Permissions Used for
phc_version 444 Read used PHC patch version
phc_default_controls 444 Read initial (default) FID:VID pairs
phc_default_vids 444 Read default VIDs
phc_controls 644 Read and Write FID:VID pairs
phc_fids 444 Read FIDs
phc_vids 644 Read and Write VIDs
 
 
phc_interface_description.txt · Last modified: 2009/07/05 22:59 by davidg
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

Strict Standards: Only variables should be passed by reference in /homepages/6/d119017636/htdocs/phc/wiki/doku.php on line 79