summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Radhakrishnan2019-03-12 12:09:53 -0500
committerMahesh Radhakrishnan2019-03-12 12:09:53 -0500
commit4afdcaa897c6d80c9e125efbbdfa882fa6ae5421 (patch)
tree44b49ac8d2ce7a3d6a1ba2716767fd3850997a67
parent897ccd12b4ddf70b1cfa3e85177bd8ad110b74b8 (diff)
downloadsd-mmc-4afdcaa897c6d80c9e125efbbdfa882fa6ae5421.tar.gz
sd-mmc-4afdcaa897c6d80c9e125efbbdfa882fa6ae5421.tar.xz
sd-mmc-4afdcaa897c6d80c9e125efbbdfa882fa6ae5421.zip
PRSDK-5276: Display test profile information along with benchmarks (Regression test)REL.PDK.J7.00.08.00.03REL.PDK.J7.00.08.00.02REL.PDK.J7.00.08.00.01
-rw-r--r--test/src/main.c3
-rw-r--r--test/src/main_emmc.c2
-rw-r--r--test/src/profiling.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/test/src/main.c b/test/src/main.c
index 1533561..c423751 100644
--- a/test/src/main.c
+++ b/test/src/main.c
@@ -1162,6 +1162,9 @@ void mmcsd_test(UArg arg0, UArg arg1)
1162 num_tests_failed++; 1162 num_tests_failed++;
1163 } else { 1163 } else {
1164 #ifdef MEASURE_TIME 1164 #ifdef MEASURE_TIME
1165 /* Display the test profile selected */
1166 MMCSD_log("\n-------- Benchmarks for the below profile -----------");
1167 display_testProfile(testProfilePtr);
1165 mmcsd_display_benchmarks(testProfilePtr->benchmarks); 1168 mmcsd_display_benchmarks(testProfilePtr->benchmarks);
1166 #endif 1169 #endif
1167 1170
diff --git a/test/src/main_emmc.c b/test/src/main_emmc.c
index 9571f2f..b4628ca 100644
--- a/test/src/main_emmc.c
+++ b/test/src/main_emmc.c
@@ -1026,6 +1026,8 @@ void mmcsd_test(UArg arg0, UArg arg1)
1026 if(ret==0) { 1026 if(ret==0) {
1027 num_tests_passed++; 1027 num_tests_passed++;
1028#ifdef MEASURE_TIME 1028#ifdef MEASURE_TIME
1029 MMCSD_log("\n-------- Benchmarks for the below profile -----------\n");
1030 display_testProfile(testProfilePtr);
1029 mmcsd_display_benchmarks(testProfilePtr->benchmarks); 1031 mmcsd_display_benchmarks(testProfilePtr->benchmarks);
1030#endif 1032#endif
1031 } 1033 }
diff --git a/test/src/profiling.c b/test/src/profiling.c
index 333172b..928827a 100644
--- a/test/src/profiling.c
+++ b/test/src/profiling.c
@@ -340,7 +340,7 @@ void mmcsd_display_benchmarks(mmcsdTestBenchmarks_t *benchmarks_ptr)
340 if(benchmarks_ptr==NULL) 340 if(benchmarks_ptr==NULL)
341 return; 341 return;
342 342
343 MMCSD_log ("\n\n ----- RAW Read/Write Throughput measurements -------\n"); 343 MMCSD_log ("\n ----- RAW Read/Write Throughput measurements -------\n");
344 MMCSD_log ("Throughput is measured by reading/writing a contiguous block of memory of varying sizes using MMCSD_Write/Read() APIs "); 344 MMCSD_log ("Throughput is measured by reading/writing a contiguous block of memory of varying sizes using MMCSD_Write/Read() APIs ");
345 MMCSD_log ("\n\n---------------------------------------\n" ); 345 MMCSD_log ("\n\n---------------------------------------\n" );
346 346