# $Id$ # Do not edit! This file is automaticly generated by hwmon-inc.xsl hwmon_generic_acpi_frequency () { var1=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq` var1=$((var1 / 1000)) var2=`cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq` var2=$((var2 / 1000)) var3=`cat /sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_cur_freq` var3=$((var3 / 1000)) var4=`cat /sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_cur_freq` var4=$((var4 / 1000)) show_tab_header ${_HWSUPP_RT_FREQUENCY} no echo "
${_HWSUPP_HWMON_SENSOR} | " echo "${_HWSUPP_RL_FREQUENCY} | " echo "
---|---|
${_HWSUPP_RC_CPU} 0 | " echo "${var1} | " echo "
${_HWSUPP_RC_CPU} 1 | " echo "${var2} | " echo "
${_HWSUPP_RC_CPU} 2 | " echo "${var3} | " echo "
${_HWSUPP_RC_CPU} 3 | " echo "${var4} | " echo "