[FFE]: powerstat, sync to 0.02.08
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerstat (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
I was late in getting the powerstat features into Xenial and I'm requesting a Feature Freeze Exception. Apart from some minor code clean ups there are a few fixes and one new feature (GPU power consumption -g option) that this new version incorporates.
Changes (from change log)
Makefile: bump version
Move N/A message for GPU power right one char
- fix to clean up output formatting
Add some more per function comments
Constify a few more func args
Make all non-main functions static
Minor fix up on GPU Watts field
- formatting alignment fixes
Add GPU average stats
- GPU power consumption statistics information at end of run
Clean up column formatting
- fix formatting on various wide fields
Add -g GPU stats
- new feature to gather i915 power consumption statistics, low impact change, does not regress other features
Update and correct copyright years
- minor date changes
The code has been sanity checked through static analysis tools (cppcheck, CoverityScan, clang scan-build) as well as valgrind for memory leaks. It has been also tested on other architectures that don't have GPU statistic kernel interfaces to sanity check no regressions have occurred with the new GPU feature.
As the author and maintainer of this utility, so I'm confident this code is sane.
Changed in powerstat (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in powerstat (Ubuntu): | |
milestone: | none → ubuntu-16.03 |
Changed in powerstat (Ubuntu): | |
status: | In Progress → New |
Changed in powerstat (Ubuntu): | |
status: | Confirmed → Fix Released |
changelog diff