aboutsummaryrefslogtreecommitdiffstats
path: root/resources/ansible_roles/ramspeed/tasks
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-24 21:39:59 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-24 22:47:38 +0800
commitc004fa1abd8069243b6cd4d9f9af66db2395351f (patch)
tree2ccad355906aba8181b9f0a829e340b497e91097 /resources/ansible_roles/ramspeed/tasks
parent7aaa7b0bf4ae4f29134b0298351c1aa1c189c253 (diff)
Export collected metrics to json as inputs for calculating
Change-Id: Id2dce1e750f646aeb972221229556fcd647a3637 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/ansible_roles/ramspeed/tasks')
-rw-r--r--resources/ansible_roles/ramspeed/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/ansible_roles/ramspeed/tasks/main.yml b/resources/ansible_roles/ramspeed/tasks/main.yml
index bdb23b6c..affa1111 100644
--- a/resources/ansible_roles/ramspeed/tasks/main.yml
+++ b/resources/ansible_roles/ramspeed/tasks/main.yml
@@ -69,6 +69,7 @@
- '^INTEGER\s+BatchRun\s+Add:\s+?(?P<add>\d+\.\d+)\sMB/s$'
- '^INTEGER\s+BatchRun\s+Triad:\s+?(?P<triad>\d+\.\d+)\sMB/s$'
- '^INTEGER\s+BatchRun\s+AVERAGE:\s+?(?P<average>\d+\.\d+)\sMB/s$'
+ export_to: "{{ qtip_results }}/ram_int_metrics.json"
register: intmem_metrics
- name: collect float memory metrics from ramspeed
@@ -80,6 +81,7 @@
- '^FL-POINT\s+BatchRun\s+Add:\s+?(?P<add>\d+\.\d+)\sMB/s$'
- '^FL-POINT\s+BatchRun\s+Triad:\s+?(?P<triad>\d+\.\d+)\sMB/s$'
- '^FL-POINT\s+BatchRun\s+AVERAGE:\s+?(?P<average>\d+\.\d+)\sMB/s$'
+ export_to: "{{ qtip_results }}/ram_float_metrics.json"
register: floatmem_metrics
- name: create memory metrics report