bootperf: fix showbootdata for results with different occurrences
This fixes an error in showbootdata in calculating deltas for optional
keyvals and changes the output to (N/A) if datas of individual data
points can't be calculated.
BUG=b:161488133
TEST=showbootdata skips the s% output for keyvals of different
occurrences.
Change-Id: Ief6b41a1bc1bd3c5e196d98408275cbe17449f69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crostestutils/+/2805639
Reviewed-by: Grant Grundler <grundler@chromium.org>
Tested-by: Chinglin Yu <chinglinyu@chromium.org>
Commit-Queue: Chinglin Yu <chinglinyu@chromium.org>
2 files changed