Fix bug in QPI calculation 19/36619/1
authorYujun Zhang <zhang.yujunz@zte.com.cn>
Wed, 28 Jun 2017 05:59:25 +0000 (13:59 +0800)
committerYujun Zhang <zhang.yujunz@zte.com.cn>
Wed, 28 Jun 2017 06:03:03 +0000 (14:03 +0800)
compute spec was amended in 45111c but the calculation is not
updated

Change-Id: Ibf0139b2278f617a52335e8839f51c97d5ded8b7
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
resources/QPI/compute-baseline.json
resources/ansible_roles/qtip/tasks/calculate.yml

index 33f711d..3aa1997 100644 (file)
       "name": "arithmetic",
       "metrics": [
         {
-          "name": "arithmetic",
+          "name": "integer",
           "workloads": [
             {
               "name": "dhrystone_lps",
               "baseline": "29002911.0"
-            },
+            }
+          ]
+        },
+        {
+          "name": "floating",
+          "workloads": [
             {
               "name": "whetstone_MWIPS",
               "baseline": "2176.8"
             }
           ]
-
         }
       ]
     }
index c472ee3..b07d12f 100644 (file)
@@ -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"