Hi,

Following are a set of patches which I have been working on to improve some 
parts of 
powertop and also port powertop to android.

Patches 1 - 7 are improvements to powertop. Some of these patches have been 
submitted 
earlier and improved based on the feedback recieved. Please let me know if 
anything more
needs to be done on these.

Patch 8 - 12 are to port powertop to Android. This process is being worked on 
and more 
improvents can be done. Right now only html report generation is supportted. 
i18n, ncurses
and try-catch have been disabled because of limited support for these know to 
me in Android. I am expecting
feedback improvements and directions for these changes so that I can progress 
in the right direction

-John


John Mathew (12):
  process: report accurate wakeup numbers for ht cpus
  main: mount debugfs if not mounted already in Android
  measurement: add support for universal power supply monitor
  intel_cpu: Add addtional path to access msr's in Android
  timer: ignore deferred timers
  main: alternate method to get boardname for Android
  parameters: store results/parameters based on distro
  powertop: Build natively on Android
  lib: Disable i18n
  display: Disable ncurses
  misc changes needed to build powertop natively
  exceptions: Disable exceptions

 Android.mk                   |   70 ++++++++++++++++
 Makefile                     |    2 +-
 cpu/cpu.cpp                  |   33 +++++++-
 cpu/cpu.h                    |   10 +++
 cpu/intel_cpus.cpp           |   10 +++
 devices/ahci.cpp             |   13 ++-
 devices/alsa.cpp             |   13 ++-
 devices/device.cpp           |    3 +
 devices/device.h             |    6 ++
 devices/i915-gpu.cpp         |    2 +-
 devices/network.cpp          |   14 +++-
 devices/rfkill.cpp           |    2 +-
 devices/thinkpad-fan.cpp     |    2 +-
 devices/thinkpad-light.cpp   |    2 +-
 display.cpp                  |   50 +++++++++++
 display.h                    |    3 +-
 html.cpp                     |    1 +
 lib.cpp                      |    7 +-
 lib.h                        |    7 ++-
 main.cpp                     |   70 ++++++++++++----
 measurement/measurement.cpp  |   41 +++++++++-
 measurement/measurement.h    |    2 +
 measurement/power_supply.cpp |  184 ++++++++++++++++++++++++++++++++++++++++++
 measurement/power_supply.h   |   46 +++++++++++
 ncurses.h                    |    1 +
 parameters/parameters.cpp    |   16 ++++-
 parameters/parameters.h      |    3 +-
 parameters/persistent.cpp    |   28 +++++--
 perf/perf.h                  |    2 +-
 perf/perf_bundle.h           |    1 +
 process/do_process.cpp       |   30 +++++++
 process/powerconsumer.h      |    1 +
 process/process.h            |    3 +
 process/timer.cpp            |   46 +++++++++++
 process/timer.h              |    1 +
 tuning/ethernet.cpp          |    1 +
 tuning/iw.h                  |    2 +-
 tuning/tunable.h             |    1 +
 tuning/tuning.cpp            |   21 ++++--
 39 files changed, 691 insertions(+), 59 deletions(-)
 create mode 100644 Android.mk
 create mode 100755 measurement/power_supply.cpp
 create mode 100755 measurement/power_supply.h
 create mode 100644 ncurses.h

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

_______________________________________________
Power mailing list
Power@bughost.org
https://bughost.org/mailman/listinfo/power

Reply via email to