summaryrefslogtreecommitdiffstats
path: root/resources/template
diff options
context:
space:
mode:
Diffstat (limited to 'resources/template')
-rw-r--r--resources/template/mem-metrics.j224
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/template/mem-metrics.j2 b/resources/template/mem-metrics.j2
new file mode 100644
index 00000000..6b1b6bd4
--- /dev/null
+++ b/resources/template/mem-metrics.j2
@@ -0,0 +1,24 @@
+Memory
+======
+
+{% for host in groups['compute'] %}
+{{ hostvars[host].ansible_hostname }}
+-----------------------------
+
+INTEGER
+^^^^^^^
+{% set metrics=hostvars[host].intmem_metrics %}
+{{ ('Copy', metrics.integer_copy[0])|justify }}
+{{ ('Scale', metrics.integer_scale[0])|justify }}
+{{ ('Add', metrics.integer_add[0])|justify }}
+{{ ('Triad', metrics.integer_triad[0])|justify }}
+
+FL-POINT
+^^^^^^^^
+{% set metrics=hostvars[host].floatmem_metrics %}
+{{ ('Copy', metrics.float_copy[0])|justify }}
+{{ ('Scale', metrics.float_scale[0])|justify }}
+{{ ('Add', metrics.float_add[0])|justify }}
+{{ ('Triad', metrics.float_triad[0])|justify }}
+
+{% endfor %}