aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/resources
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/resources')
-rw-r--r--tests/data/resources/QPI/compute.yaml37
-rw-r--r--tests/data/resources/QPI/fake_qpi.yaml17
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/data/resources/QPI/compute.yaml b/tests/data/resources/QPI/compute.yaml
new file mode 100644
index 00000000..78a2d324
--- /dev/null
+++ b/tests/data/resources/QPI/compute.yaml
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Corporation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+title: compute
+description: sample performance index of computing
+formula: weighted arithmetic mean
+sections:
+- name: Integer
+ weight: 0.3
+ formula: geometric mean
+ metrics:
+ - dhrystone.yaml
+- name: Float
+ weight: 0.3
+ formula: geometric mean
+ metrics:
+ - whetstone.yaml
+- name: Memory
+ weight: 0.2
+ formula: geometric mean
+ metrics:
+ - ramspeed.yaml
+- name: DPI
+ weight: 0.1
+ formula: geometric mean
+ metrics:
+ - dpi.yaml
+- name: SSL
+ weight: 0.1
+ formula: geometric mean
+ metrics:
+ - ssl.yaml
diff --git a/tests/data/resources/QPI/fake_qpi.yaml b/tests/data/resources/QPI/fake_qpi.yaml
new file mode 100644
index 00000000..4b34a495
--- /dev/null
+++ b/tests/data/resources/QPI/fake_qpi.yaml
@@ -0,0 +1,17 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+name: Fake QPI
+description: a fake QPI producing random result
+formula: weighted arithmetic mean
+sections:
+- name: Fake Section
+ weight: 0.5
+ formula: geometric mean
+ metrics:
+ - fake-metric.yaml