From: Chris Ferron <chris.e.ferron at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [RFC][PATCH 2/2] Convert powertop to use new report generator facility
Date: Mon, 08 Oct 2012 11:22:23 -0700 [thread overview]
Message-ID: <507319DF.5000607@linux.intel.com> (raw)
In-Reply-To: 1349283961-26760-1-git-send-email-i.zhbanov@samsung.com
[-- Attachment #1: Type: text/plain, Size: 2594 bytes --]
On 10/03/2012 10:06 AM, Igor Zhbanov wrote:
> Convert report system to use new report generator facility
> for producing parsable CSV- and HTML-reports, enhancing code readability
> and maintainability, merging CSV and HTML codepaths, separating document
> structure from text formatting.
> ---
> src/cpu/cpu.cpp | 410 ++++++++++----------------------------------
> src/cpu/cpu.h | 5 +
> src/cpu/cpu_core.cpp | 11 --
> src/cpu/cpu_linux.cpp | 55 +++++--
> src/cpu/cpu_package.cpp | 12 --
> src/cpu/intel_cpus.cpp | 19 --
> src/devices/device.cpp | 112 ++++--------
> src/devlist.cpp | 44 ++----
> src/main.cpp | 13 +-
> src/powertop.css | 10 +
> src/process/do_process.cpp | 199 ++++++++++------------
> src/report.cpp | 145 +++++-----------
> src/report.h | 12 +-
> src/tuning/tuning.cpp | 145 +++++-----------
> 14 files changed, 393 insertions(+), 799 deletions(-)
>
>
Hello,
So first id like to say nice work. I see lots of improvements, and some
fixes that were missed in the past.
Couple of things,
#1 I noticed that the scripts section of Software Settings in need of
Tuning is missing. I see the nice header, but not data.
#2 C0 active table cells are not aligned , and the CPU's are also not
aligned correctly in the Processor Idle state report section.
#3 I get some warning compiling, I know PowerTOP is not warning less,
but would like to attempt to prevent adding more. (and fixing exiting
ones of course)
report/report-maker.cpp: In destructor ‘report_maker::~report_maker()’:
report/report-maker.cpp:51:10: warning: deleting object of abstract
class type ‘report_formatter’ which has non-virtual destructor will
cause undefined behaviour [-Wdelete-non-virtual-dtor]
report/report-maker.cpp: In member function ‘void
report_maker::setup_report_formatter()’:
report/report-maker.cpp:110:10: warning: deleting object of abstract
class type ‘report_formatter’ which has non-virtual destructor will
cause undefined behaviour [-Wdelete-non-virtual-dtor]
#4 report[c,h] should probable just go in your new sub/dir (report).
#5 csv report has alignment issues for both the cpu Idle and Freq. Even
if they are machine readable, they need to be easily parsed using open
office or MS excel and look aligned with the http report.
other issues are small and can be attended to in the future, or have
been already expressed.
Thanks
-C
next reply other threads:[~2012-10-08 18:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 18:22 Chris Ferron [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-10-09 20:25 [Powertop] [RFC][PATCH 2/2] Convert powertop to use new report generator facility Ferron, Chris E
2012-10-09 17:17 Igor Zhbanov
2012-10-08 18:32 Sergey Senozhatsky
2012-10-03 17:06 Igor Zhbanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507319DF.5000607@linux.intel.com \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.