commit | 0de6c0df4ecc32ffaf064fea3a43846ba4474bd0 | [log] [tgz] |
---|---|---|
author | Len Brown <len.brown@intel.com> | Wed Feb 15 21:45:40 2017 -0500 |
committer | Len Brown <len.brown@intel.com> | Wed Mar 01 00:14:23 2017 -0500 |
tree | 0dc54a7f318f054b2e7570d7dc561348dfda1399 | |
parent | c8ade3616a1a5cf7767c0338d2b02007796f5d88 [diff] |
tools/power turbostat: use wide columns to display large numbers When a counter overlfows 7 columns, it shifts the remaining columns to the right, so they no longer line up under their column header. Update turbostat to dectect when it is handling large numbers, and switch to wider columns where, necessary. Reported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>