dmatest: add basic performance metrics
Add iops and throughput to the summary output.
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/Documentation/dmatest.txt b/Documentation/dmatest.txt
index e6e16a7..0beb4b6 100644
--- a/Documentation/dmatest.txt
+++ b/Documentation/dmatest.txt
@@ -77,5 +77,9 @@
or status. A test thread also emits a summary line at completion listing the
number of tests executed, number that failed, and a result code.
+Example:
+ % dmesg | tail -n 1
+ dmatest: dma3chan0-copy0: summary 400000 tests, 0 failures iops: 61524 KB/s 246098 (0)
+
The details of a data miscompare error are also emitted, but do not follow the
above format.