bb-matrix: Fix min and max calculations
authorDarren Hart <dvhart@linux.intel.com>
Fri, 18 Jan 2013 23:13:52 +0000 (23:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jan 2013 10:22:08 +0000 (10:22 +0000)
commitff725cab61b2e999a2cab1febc6da6040a94e3d5
treeec380def353e36dfdfdd6399198a52e4d26bbadf
parentf7b04a266b7a80fb59cad1e41f276038bcd3b1c7
bb-matrix: Fix min and max calculations

The BB and PM ranges were originally intended to use leading 0s to
ensure all the values were the same string length, making for nice log
filenames and columnar dat files. However, not everyone will do this -
especially if it isn't documented.

Document the intent. Make the generation and parsing of dat files robust
to either method.

(From OE-Core rev: 90dc44c8246f2a580fe4a41ce28c201e52307500)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/bb-perf/bb-matrix-plot.sh
scripts/contrib/bb-perf/bb-matrix.sh