
14 Nov
2012
14 Nov
'12
1:59 p.m.
Hi,
On Tue, 30 Oct 2012 12:49:26 +0100 Andreas Bießmann andreas.devel@googlemail.com wrote:
This patch adds time measurement and throughput calculation for all supported fsload 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: Andreas Bießmann andreas.devel@googlemail.com
since v1:
- use 'time' instead of 'time_start' as suggested by Wolfgang
since v2:
- rebase on top of 045fa1e1142552799ad3203e9e0bc22a11e866ea Now there is some more overhead in the measurement caused by the respective fs-type functions (detect fs-type, eventually do mount and so on). Nevertheless I think such a measurement is good for further improvements like increasing throughput by whatever measures.
fs/fs.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
Applied to staging/agust@denx.de after rebasing. Also slightly revised commit log. Thanks!
Anatolij