cpupower for grid5k

This commit is contained in:
Guillaume Didier 2021-09-28 15:34:31 +02:00
parent 6f8ae88e58
commit bb0b008bbe

View File

@ -15,7 +15,7 @@ pub enum Error {
}
#[cfg(all(target_os = "linux", feature = "use_std"))]
#[link(name = "cpufreq")]
#[link(name = "cpupower")]
extern "C" {
//unsigned long cpufreq_get_freq_kernel(unsigned int cpu);
fn cpufreq_get_freq_kernel(cpu: c_uint) -> c_ulong;