summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLee Susman <lsusman@codeaurora.org>2014-12-04 00:11:56 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:01:40 -0700
commit0162f826f3746efe0aa23698db8009738c89f04e (patch)
tree80e722a6a36c9e31b8f8821197926a5170964836 /include/linux
parenta98628c1c49e40b4de5b4f411439d00d5e7a5f01 (diff)
mmc: card: Add long sequential read test to test-iosched
Long sequential read test measures read throughput at the driver level by reading large requests sequentially. Change-Id: I3b6d685930e1d0faceabbc7d20489111734cc9d4 Signed-off-by: Lee Susman <lsusman@codeaurora.org> [merez@codeaurora.org: Fix conflicts as BKOPS tests were removed] Signed-off-by: Maya Erez <merez@codeaurora.org> [venkatg@codeaurora.org: Drop changes to mmc_block_test.c] Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/test-iosched.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h
index c1d8056143a8..e8d1f740072f 100644
--- a/include/linux/test-iosched.h
+++ b/include/linux/test-iosched.h
@@ -128,6 +128,8 @@ struct test_request {
* @check_test_result_fn: Test specific test result checking
* callback
* @get_test_case_str_fn: Test specific function to get the test name
+ * @test_duration: A jiffies value saved for timing
+ * calculations
* @data: Test specific private data
*/
struct test_info {
@@ -138,6 +140,7 @@ struct test_info {
check_test_result_fn *check_test_result_fn;
post_test_fn *post_test_fn;
get_test_case_str_fn *get_test_case_str_fn;
+ unsigned long test_duration;
void *data;
};