aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNauman_Ahad <Nauman_Ahad@dell.com>2016-01-11 15:09:12 +0500
committerNauman Ahad <Nauman_Ahad@dell.com>2016-01-14 11:52:31 +0000
commit0e1bf4151a9995363c9e59be5302ea888ff3b73e (patch)
treece93134f3fdffddcafcc4c24ff925b4db516f4c4
parent61159e1e4f028dbb34573f2186d448be578894ee (diff)
Modifications to the index calculation script
Modifications to the index calulation script. Key for each suite changed to "Index" from "<suite> Index". This is to reuse code for the dashboard.py file for QTIP Change-Id: I6e8c8c268b7d9376b0f44d572ed022910e8ad4d9 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com> (cherry picked from commit 3c194a8bf95ab68d440b68587ba7f36a921116de)
-rw-r--r--data/ref_results/compute_suite.py2
-rw-r--r--data/ref_results/network_suite.py2
-rw-r--r--data/ref_results/storage_suite.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/data/ref_results/compute_suite.py b/data/ref_results/compute_suite.py
index a57a4b04..78eaae6f 100644
--- a/data/ref_results/compute_suite.py
+++ b/data/ref_results/compute_suite.py
@@ -15,7 +15,7 @@ for benchmark in compute_bench_list:
compute_suite_index=temp/len(compute_bench_list)
compute_dict_f={};
-compute_dict_f['1. Compute Index']=compute_suite_index
+compute_dict_f['1. Index']=compute_suite_index
compute_dict_f['2. Compute suite results']=compute_dict
with open('../../results/compute_result.json', 'w+') as result_json:
json.dump(compute_dict_f, result_json, indent=4, sort_keys=True)
diff --git a/data/ref_results/network_suite.py b/data/ref_results/network_suite.py
index df80b8b5..0e687f6a 100644
--- a/data/ref_results/network_suite.py
+++ b/data/ref_results/network_suite.py
@@ -15,7 +15,7 @@ for benchmark in network_bench_list:
network_suite_index=temp/len(network_bench_list)
network_dict_f={};
-network_dict_f['1. Network Index']=network_suite_index
+network_dict_f['1. Index']=network_suite_index
network_dict_f['2. Network suite results']=network_dict
with open('../../results/network_result.json', 'w+') as result_json:
json.dump(network_dict_f, result_json, indent=4, sort_keys=True)
diff --git a/data/ref_results/storage_suite.py b/data/ref_results/storage_suite.py
index fe4e940c..0c5b4c66 100644
--- a/data/ref_results/storage_suite.py
+++ b/data/ref_results/storage_suite.py
@@ -15,7 +15,7 @@ for benchmark in storage_bench_list:
storage_suite_index=temp/len(storage_bench_list)
storage_dict_f={};
-storage_dict_f['1. Storage Index']=storage_suite_index
+storage_dict_f['1. 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)