From 3ce65d0ff3d79d5ddcee2f22310d0c435d451cb9 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 26 Nov 2019 17:39:22 +0100 Subject: [PATCH] tool/metrics: print func count --- tool/metrics/metrics-ccsm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/metrics/metrics-ccsm.py b/tool/metrics/metrics-ccsm.py index 075e6ffef..83bd3ecb9 100755 --- a/tool/metrics/metrics-ccsm.py +++ b/tool/metrics/metrics-ccsm.py @@ -139,7 +139,8 @@ def list_metrics_table(): max = metrics[metric_name + '_MAX'] print ( row % ( metric_name, target, deviations, max)) else: - print ( row % ( metric_name, '', '', '')) + max = metrics[metric_name] + print ( row % ( metric_name, '', '', max)) def list_deviations(): global metrics