From 08a807b0ad444bf0e46af5093642b024462632a1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 2 Nov 2015 08:20:11 +0100 Subject: libblock: Print block sizes and count --- testsuites/libtests/block14/block14.scn | 5 ++++- testsuites/libtests/block14/init.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'testsuites') diff --git a/testsuites/libtests/block14/block14.scn b/testsuites/libtests/block14/block14.scn index 009ebb0698..7170522579 100644 --- a/testsuites/libtests/block14/block14.scn +++ b/testsuites/libtests/block14/block14.scn @@ -1,4 +1,4 @@ -*** TEST BLOCK 14 *** +*** BEGIN OF TEST BLOCK 14 *** action 0 action 1 action 2 @@ -9,6 +9,9 @@ action 6 ------------------------------------------------------------------------------- DEVICE STATISTICS ----------------------+-------------------------------------------------------- + MEDIA BLOCK SIZE | 0 + MEDIA BLOCK COUNT | 1 + BLOCK SIZE | 2 READ HITS | 2 READ MISSES | 3 READ AHEAD TRANSFERS | 2 diff --git a/testsuites/libtests/block14/init.c b/testsuites/libtests/block14/init.c index 01d2f5e1ba..98282bc931 100644 --- a/testsuites/libtests/block14/init.c +++ b/testsuites/libtests/block14/init.c @@ -155,7 +155,7 @@ static void test_actions(rtems_disk_device *dd) ); } - rtems_blkdev_print_stats(&dd->stats, rtems_printf_plugin, NULL); + rtems_blkdev_print_stats(&dd->stats, 0, 1, 2, rtems_printf_plugin, NULL); } static void test(void) -- cgit v1.2.3