Skip to content
Snippets Groups Projects
Commit da1fd96c authored by Andreas Bießmann's avatar Andreas Bießmann Committed by Anatolij Gustschin
Browse files

fs/fs.c: do_fsload: measure throughput


This patch adds time measurement and throughput calculation for
all supported load commands.

The output of ext2load changes from

---8<---
1830666 bytes read
--->8---

to

---8<---
1830666 bytes read in 237 ms (7.4 MiB/s)
--->8---

Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
[agust: rebased and revised commit log]
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent 624c721f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment