diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-30 14:54:04 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-30 14:55:09 +0800 |
commit | f0ecce090026da3ede406289d139d1de08674134 (patch) | |
tree | cd670591daca8afcbe7345ed70d52855aa85376c /tests/data/resources | |
parent | 59cc506c563a12e0a11b12e7b3742fec25e1e0f3 (diff) |
Keep tests/data consistent with repository structure
- rename `benchmarks` in `tests/data` to `resources`
- delete obsoleted contents
JIRA: QTIP-258
Change-Id: I7f4ec1a1fc7b355922c7aee76851e7f0dd026f72
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/data/resources')
-rw-r--r-- | tests/data/resources/QPI/compute.yaml | 37 | ||||
-rw-r--r-- | tests/data/resources/QPI/fake_qpi.yaml | 17 |
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 |