summaryrefslogtreecommitdiff
path: root/crypto/crypto_null.c
diff options
context:
space:
mode:
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>2008-08-04 11:59:08 -0700
committerDave Jones <davej@redhat.com>2008-10-09 13:52:43 -0400
commitc43aa3bd99a67009a167430e80c5fde6f37288d8 (patch)
tree41e0aa9b864aa6a3d214c1c5ad52bc1f934e1423 /crypto/crypto_null.c
parentbf0b90e357c883e8efd72954432efe652de74c76 (diff)
[CPUFREQ][2/6] cpufreq: Change load calculation in ondemand for software coordination
Change the load calculation algorithm in ondemand to work well with software coordination of frequency across the dependent cpus. Multiply individual CPU utilization with the average freq of that logical CPU during the measurement interval (using getavg call). And find the max CPU utilization number in terms of CPU freq. That number is then used to get to the target freq for next sampling interval. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'crypto/crypto_null.c')
0 files changed, 0 insertions, 0 deletions