diff --git a/cache_utils/src/frequency.rs b/cache_utils/src/frequency.rs index b47e9a8..f9168d2 100644 --- a/cache_utils/src/frequency.rs +++ b/cache_utils/src/frequency.rs @@ -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;