From 57922dcb8e6497f02fdee9306494e932e25dcace Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Tue, 5 Jan 2016 21:01:17 +0500 Subject: 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 --- data/ref_results/network_suite.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 data/ref_results/network_suite.py (limited to 'data/ref_results/network_suite.py') diff --git a/data/ref_results/network_suite.py b/data/ref_results/network_suite.py new file mode 100644 index 00000000..df80b8b5 --- /dev/null +++ b/data/ref_results/network_suite.py @@ -0,0 +1,22 @@ +import json +import network_benchmarks_indices as benchmark_indices + + +network_dict={}; +network_dict['IPERF']=benchmark_indices.iperf_index() + + + + +network_bench_list=['IPERF'] +temp=0 +for benchmark in network_bench_list: + temp=temp+float(network_dict[benchmark]['1. Index']) +network_suite_index=temp/len(network_bench_list) + +network_dict_f={}; +network_dict_f['1. Network 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) + -- cgit 1.2.3-korg