Files
linux/scripts
Riku Voipio 8cde0daf6c scripts/bloat-o-meter: fix percent on <1% changes
Python divisions are integer divisions unless at least one parameter is
a float.  The current bloat-o-meter fails to print sub-percentage
changes:

  Total: Before=10515408, After=10604060, chg 0.000000%

Force float division by using one float and pretty the print to two
significant decimals:

  Total: Before=10515408, After=10604060, chg +0.84%

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Riku Voipio <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: Michal Marek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2016-07-26 16:19:19 -07:00
..
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
…
…
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
2014-12-20 00:01:12 +01:00
2015-10-12 17:46:36 +01:00
…
2014-08-20 16:03:45 +02:00
2014-08-20 16:03:45 +02:00
…
2015-08-28 17:04:40 +02:00
2015-08-28 17:04:40 +02:00
…
2016-02-07 23:01:45 -08:00
2014-08-20 16:03:45 +02:00