diff options
| author | Lee Susman <lsusman@codeaurora.org> | 2013-06-27 11:35:20 +0300 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:01:47 -0700 |
| commit | ef94ce156fe42f32dadf735523b209bb45cd189a (patch) | |
| tree | 4a074b2777b6fa5e7520785182caa6a266f1eecc /include | |
| parent | 2bf9babb4d36c928a3b71cd4fdf68ce33b18446b (diff) | |
mmc: card: change long_sequential_test time measurements to ktime
Change time measurements in long_sequential_test from jiffies to ktime,
and make the relevant change in test-iosched infrastructure.
In long_sequential_test we measure throughput, and the jiffies resolution
is not sensitive enough for this calculation.
Change-Id: If7c9a03c687f61996609c014e056bcd7132b9012
Signed-off-by: Lee Susman <lsusman@codeaurora.org>
[venkatg@codeaurora.org: Drop changes to mmc_block_test.c]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/test-iosched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/test-iosched.h b/include/linux/test-iosched.h index d69dcea4978b..36facf7e4053 100644 --- a/include/linux/test-iosched.h +++ b/include/linux/test-iosched.h @@ -143,7 +143,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; + ktime_t test_duration; get_rq_disk_fn *get_rq_disk_fn; void *data; unsigned long test_byte_count; |
