From: Yujun Zhang Date: Wed, 28 Jun 2017 05:59:25 +0000 (+0800) Subject: Fix bug in QPI calculation X-Git-Tag: opnfv-5.0.0~73 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=116b5101e8f917b23b49ad91f0a65fada76e8c5e;p=qtip.git Fix bug in QPI calculation compute spec was amended in 45111c but the calculation is not updated Change-Id: Ibf0139b2278f617a52335e8839f51c97d5ded8b7 Signed-off-by: Yujun Zhang --- diff --git a/resources/QPI/compute-baseline.json b/resources/QPI/compute-baseline.json index 33f711d2..3aa19970 100644 --- a/resources/QPI/compute-baseline.json +++ b/resources/QPI/compute-baseline.json @@ -154,18 +154,22 @@ "name": "arithmetic", "metrics": [ { - "name": "arithmetic", + "name": "integer", "workloads": [ { "name": "dhrystone_lps", "baseline": "29002911.0" - }, + } + ] + }, + { + "name": "floating", + "workloads": [ { "name": "whetstone_MWIPS", "baseline": "2176.8" } ] - } ] } diff --git a/resources/ansible_roles/qtip/tasks/calculate.yml b/resources/ansible_roles/qtip/tasks/calculate.yml index c472ee34..b07d12f8 100644 --- a/resources/ansible_roles/qtip/tasks/calculate.yml +++ b/resources/ansible_roles/qtip/tasks/calculate.yml @@ -17,7 +17,8 @@ dpi_throughput: "{{ qtip_results }}/dpi/metrics.json" intmem: "{{ qtip_results }}/memory/integer-metrics.json" floatmem: "{{ qtip_results }}/memory/float-metrics.json" - arithmetic: "{{ qtip_results }}/arithmetic/metrics.json" + integer: "{{ qtip_results }}/arithmetic/metrics.json" + floating: "{{ qtip_results }}/arithmetic/metrics.json" sysinfo: "{{ qtip_results }}/sysinfo/condition.json" spec: "{{ qtip_resources }}/QPI/compute.yaml" baseline: "{{ qtip_resources }}/QPI/compute-baseline.json"