|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | cpupower_cpu_info |
| struct | cpupower_topology |
Macros | |
| #define | _(String) String |
| #define | N_(String) String |
| #define | CPUPOWER_CAP_INV_TSC 0x00000001 |
| #define | CPUPOWER_CAP_APERF 0x00000002 |
| #define | CPUPOWER_CAP_AMD_CBP 0x00000004 |
| #define | CPUPOWER_CAP_PERF_BIAS 0x00000008 |
| #define | CPUPOWER_CAP_HAS_TURBO_RATIO 0x00000010 |
| #define | CPUPOWER_CAP_IS_SNB 0x00000020 |
| #define | CPUPOWER_CAP_INTEL_IDA 0x00000040 |
| #define | MAX_HW_PSTATES 10 |
Enumerations | |
| enum | cpupower_cpu_vendor { X86_VENDOR_UNKNOWN = 0, X86_VENDOR_INTEL, X86_VENDOR_AMD, X86_VENDOR_MAX } |
Functions | |
| int | get_cpu_info (unsigned int cpu, struct cpupower_cpu_info *cpu_info) |
| int | get_cpu_topology (struct cpupower_topology *cpu_top) |
| void | cpu_topology_release (struct cpupower_topology cpu_top) |
Variables | |
| int | run_as_root |
| struct bitmask * | cpus_chosen |
| int | be_verbose |
| struct cpupower_cpu_info | cpupower_cpu_info |
| enum cpupower_cpu_vendor |
| void cpu_topology_release | ( | struct cpupower_topology | cpu_top | ) |
Definition at line 108 of file topology.c.
| int get_cpu_info | ( | unsigned int | cpu, |
| struct cpupower_cpu_info * | cpu_info | ||
| ) |
| int get_cpu_topology | ( | struct cpupower_topology * | cpu_top | ) |
Definition at line 74 of file topology.c.
| int be_verbose |
Definition at line 35 of file cpupower.c.
Definition at line 38 of file cpupower.c.
| int run_as_root |
Definition at line 36 of file cpupower.c.
1.8.2