View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#370
For those interrested

https://openrepos.net/content/nieldk/cpufrequtils and
https://openrepos.net/content/nieldk/libsysfs

Code:
[root@localhost nemo]# cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to http://bugs.opensuse.org, please.
analyzing CPU 0:
  driver: msm
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.00 ms.
  hardware limits: 384 MHz - 1.40 GHz
  available frequency steps: 384 MHz, 432 MHz, 486 MHz, 540 MHz, 594 MHz, 648 MHz, 702 MHz, 756 MHz, 810 MHz, 864 MHz, 918 MHz, 972 MHz, 1.03 GHz, 1.08 GHz, 1.13 GHz, 1.19 GHz, 1.24 GHz, 1.30 GHz, 1.35 GHz, 1.40 GHz
  available cpufreq governors: msm-dcvs, interactive, ondemand, userspace, powersave, performance
  current policy: frequency should be within 384 MHz and 1.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.40 GHz (asserted by call to hardware).
  cpufreq stats: 384 MHz:88.26%, 432 MHz:0.10%, 486 MHz:0.13%, 540 MHz:0.13%, 594 MHz:0.10%, 648 MHz:0.17%, 702 MHz:0.11%, 756 MHz:0.08%, 810 MHz:0.07%, 864 MHz:0.05%, 918 MHz:1.96%, 972 MHz:0.04%, 1.03 GHz:1.85%, 1.08 GHz:0.02%, 1.13 GHz:0.02%, 1.19 GHz:0.02%, 1.24 GHz:0.02%, 1.30 GHz:0.01%, 1.35 GHz:0.02%, 1.40 GHz:6.82%  (112062)
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
Code:
[root@localhost nemo]# cpufreq-set -g performance
[root@localhost nemo]# cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to http://bugs.opensuse.org, please.
analyzing CPU 0:
  driver: msm
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.00 ms.
  hardware limits: 384 MHz - 1.40 GHz
  available frequency steps: 384 MHz, 432 MHz, 486 MHz, 540 MHz, 594 MHz, 648 MHz, 702 MHz, 756 MHz, 810 MHz, 864 MHz, 918 MHz, 972 MHz, 1.03 GHz, 1.08 GHz, 1.13 GHz, 1.19 GHz, 1.24 GHz, 1.30 GHz, 1.35 GHz, 1.40 GHz
  available cpufreq governors: msm-dcvs, interactive, ondemand, userspace, powersave, performance
  current policy: frequency should be within 384 MHz and 1.40 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.40 GHz (asserted by call to hardware).
  cpufreq stats: 384 MHz:88.25%, 432 MHz:0.10%, 486 MHz:0.13%, 540 MHz:0.13%, 594 MHz:0.10%, 648 MHz:0.17%, 702 MHz:0.11%, 756 MHz:0.08%, 810 MHz:0.07%, 864 MHz:0.05%, 918 MHz:1.96%, 972 MHz:0.04%, 1.03 GHz:1.85%, 1.08 GHz:0.02%, 1.13 GHz:0.02%, 1.19 GHz:0.02%, 1.24 GHz:0.02%, 1.30 GHz:0.01%, 1.35 GHz:0.02%, 1.40 GHz:6.83%  (112129)
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
Code:
[root@localhost nemo]# cpufreq-set -g powersave
[root@localhost nemo]# cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to http://bugs.opensuse.org, please.
analyzing CPU 0:
  driver: msm
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 0.00 ms.
  hardware limits: 384 MHz - 1.40 GHz
  available frequency steps: 384 MHz, 432 MHz, 486 MHz, 540 MHz, 594 MHz, 648 MHz, 702 MHz, 756 MHz, 810 MHz, 864 MHz, 918 MHz, 972 MHz, 1.03 GHz, 1.08 GHz, 1.13 GHz, 1.19 GHz, 1.24 GHz, 1.30 GHz, 1.35 GHz, 1.40 GHz
  available cpufreq governors: msm-dcvs, interactive, ondemand, userspace, powersave, performance
  current policy: frequency should be within 384 MHz and 1.40 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 384 MHz (asserted by call to hardware).
  cpufreq stats: 384 MHz:88.23%, 432 MHz:0.10%, 486 MHz:0.13%, 540 MHz:0.13%, 594 MHz:0.10%, 648 MHz:0.17%, 702 MHz:0.11%, 756 MHz:0.08%, 810 MHz:0.07%, 864 MHz:0.05%, 918 MHz:1.96%, 972 MHz:0.04%, 1.03 GHz:1.85%, 1.08 GHz:0.02%, 1.13 GHz:0.02%, 1.19 GHz:0.02%, 1.24 GHz:0.02%, 1.30 GHz:0.01%, 1.35 GHz:0.02%, 1.40 GHz:6.85%  (112130)
analyzing CPU 1:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
 

The Following 14 Users Say Thank You to For This Useful Post: