summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2019-06-17 10:48:55 -0600
committerCommit Bot <commit-bot@chromium.org>2019-06-18 01:06:45 +0000
commit4c1a6f4872f405619f0dc4f2db477edf540fdd24 (patch)
tree1cf3449b420d9c9f6fb8025411798c626811b7b0 /tests
parent24db29e174aa713cab228e3410bb0572331759d5 (diff)
downloadvboot-4c1a6f4872f405619f0dc4f2db477edf540fdd24.tar.gz
lib/vboot_kernel: Log speed at which kernel was loaded
This makes it easy to spot the speed at which the eMMC controller is running. vb2_load_partition: read 8419 KB in 48 ms at 174342 KB/s. The calculation looks a little funky because I wanted to perform all multiplications before the division to avoid losing any precision. BRANCH=grunt BUG=b:122244718 TEST=Verified it on grunt Change-Id: I5fac584994bc478bfb27cbd4e2ea34af0be7f1d9 Signed-off-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1661366 Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions