cpupower for grid5k
This commit is contained in:
parent
6f8ae88e58
commit
bb0b008bbe
@ -15,7 +15,7 @@ pub enum Error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(target_os = "linux", feature = "use_std"))]
|
#[cfg(all(target_os = "linux", feature = "use_std"))]
|
||||||
#[link(name = "cpufreq")]
|
#[link(name = "cpupower")]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
//unsigned long cpufreq_get_freq_kernel(unsigned int cpu);
|
//unsigned long cpufreq_get_freq_kernel(unsigned int cpu);
|
||||||
fn cpufreq_get_freq_kernel(cpu: c_uint) -> c_ulong;
|
fn cpufreq_get_freq_kernel(cpu: c_uint) -> c_ulong;
|
||||||
|
Loading…
Reference in New Issue
Block a user