diff options
author | Igor Zhbanov <i.zhbanov@samsung.com> | 2012-07-11 12:40:00 +0400 |
---|---|---|
committer | Chris E Ferron <chris.e.ferron@linux.intel.com> | 2012-07-17 14:27:06 -0700 |
commit | 3d6764e47916953b62c02a312f79355e3ae66a8d (patch) | |
tree | f80eeceb4ad4ada7778b346553be36b959947bd6 /src/lib.h | |
parent | 19c88c268ef5f6cebaeb0696814bae012286bbae (diff) |
Display all P-states in HTML-report
This is the formatted version of the patch:
From 66d0f194250d94afcf83eb7712af6f50c6ad8ec4 Mon Sep 17 00:00:00 2001
From: Igor Zhbanov<i.zhbanov@samsung.com>
Date: Wed, 11 Jul 2012 12:35:31 +0400
Subject: [PATCH] Display all P-states in HTML-report
On Arm processors there are more than 10 P-states. On my device there are 12
p-states with different frequency. But PowerTOP displays only 10. And it
doesn't display states (11 and 12) where the phone spends most of the time.
I suppose that was because of console mode of PowerTOP, when there are limited
number of lines on the console. But in the case of HTML-report this should
not be a problem.
This patch that counts the number of found P-states and displays all of them.
The same issue may affect the function report_display_cpu_cstates()
but I'm not sure that CPUs with more than 10 C-states exists.
The same code is in the function impl_w_display_cpu_states(), but that
function is used in console mode only where lines limit is reasonable.
Diffstat (limited to 'src/lib.h')
0 files changed, 0 insertions, 0 deletions