Lines Matching +full:high +full:- +full:performance
6 # Arguments: 0x00 (AC offline, economy) or 0x01 (AC online, performance)
19 LOGGER="logger -t power_profile -p daemon.notice"
25 # $value: HIGH for the highest performance value, LOW for the best
27 # $highest_value: maximum value for this sysctl, when $value is "HIGH"
33 if [ -z "$(sysctl -n ${node} 2> /dev/null)" ]; then
37 # Get the new value, checking for special types HIGH or LOW
53 if [ -n "${value}" ]; then
60 if [ $# -ne 1 ]; then
68 # Find the next state (performance or economy).
72 ${LOGGER} "changed to 'performance'"
73 profile="performance"
92 highest_value="`(sysctl -n dev.cpu.0.freq_levels | \
93 awk '{ split($0, a, "[/ ]"); print a[1] }' -) 2> /dev/null`"
94 lowest_value="`(sysctl -n dev.cpu.0.freq_levels | \
95 awk '{ split($0, a, "[/ ]"); print a[length(a) - 1] }' -) 2> /dev/null`"