Some cleanup of bootstat scripts

Cleaned up boostat_summary output so that it no longer prints huge
negative numbers when the delta is zero, and so that the columns
overflow less often.

Added millisecond output to bootstat_get_last (with "time-ms"
argument) so that scripts using it can use builtin bash integer
arithmetic instead of having to invoke awk to manipulate times (makes
the client code simpler). (this is used by code that fixes referenced
bug).

BUG=chromium:271068
TEST=ran on device (Pixel)

Change-Id: Ieb98c6779dd06310c0c2b3bb2dd4c9b48af13bc5
Reviewed-on: https://gerrit.chromium.org/gerrit/65753
Tested-by: Greg Spencer <gspencer@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Queue: Greg Spencer <gspencer@chromium.org>
2 files changed