From 0e1bf4151a9995363c9e59be5302ea888ff3b73e Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Mon, 11 Jan 2016 15:09:12 +0500 Subject: Modifications to the index calculation script Modifications to the index calulation script. Key for each suite changed to "Index" from " Index". This is to reuse code for the dashboard.py file for QTIP Change-Id: I6e8c8c268b7d9376b0f44d572ed022910e8ad4d9 Signed-off-by: Nauman_Ahad (cherry picked from commit 3c194a8bf95ab68d440b68587ba7f36a921116de) --- data/ref_results/compute_suite.py | 2 +- data/ref_results/network_suite.py | 2 +- data/ref_results/storage_suite.py | 2 +- 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) -- cgit 1.2.3-korg