aboutsummaryrefslogtreecommitdiffstats
path: root/data/ref_results/storage_suite.py
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
committerNauman_Ahad <Nauman_Ahad@dell.com>2016-01-05 21:01:17 +0500
commit57922dcb8e6497f02fdee9306494e932e25dcace (patch)
tree03243a0673de88e39cc682d4d64e54be2ad1c898 /data/ref_results/storage_suite.py
parent8812f4746015c669dc8dcab23069f5244ff8acb6 (diff)
QTIP Index calculation along with a script to run qtip from docker
Calculation of Result Indices for 1. Compute suite 2. Storage suite 3. Network suite A script to run qtip from inside the docker container (for Jenkins Jobs) Resolved bugs with ssl_trasform.py, sys info collection on ubuntu and system information collection script Change-Id: Ic5abb3dbd0012cd2257b588b1b3067a6677b1f5d Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
Diffstat (limited to 'data/ref_results/storage_suite.py')
-rw-r--r--data/ref_results/storage_suite.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/ref_results/storage_suite.py b/data/ref_results/storage_suite.py
new file mode 100644
index 00000000..fe4e940c
--- /dev/null
+++ b/data/ref_results/storage_suite.py
@@ -0,0 +1,22 @@
+import json
+import storage_benchmarks_indices as benchmark_indices
+
+
+storage_dict={};
+storage_dict['FIO']=benchmark_indices.fio_index()
+
+
+
+
+storage_bench_list=['FIO']
+temp=0
+for benchmark in storage_bench_list:
+ temp=temp+float(storage_dict[benchmark]['1. Index'])
+storage_suite_index=temp/len(storage_bench_list)
+
+storage_dict_f={};
+storage_dict_f['1. Storage Index']=storage_suite_index
+storage_dict_f['2. Storage suite results']=storage_dict
+with open('../../results/storage_result.json', 'w+') as result_json:
+ json.dump(storage_dict_f, result_json, indent=4, sort_keys=True)
+