From 47883f13f29d59de0b9f171ef570cb9b4634e577 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 11 Jan 2024 16:16:35 +0100 Subject: Rename --show-model-size to --show-model-complexity also: make it work for non-tree models --- bin/analyze-archive.py | 4 ++-- bin/analyze-kconfig.py | 4 ++-- bin/analyze-log.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index bbf2efa..9cdf42c 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -791,8 +791,8 @@ if __name__ == "__main__": ] ) - if args.show_model_size: - dfatool.cli.print_model_size(model) + if args.show_model_complexity: + dfatool.cli.print_model_complexity(model) if args.boxplot_param: dfatool.cli.boxplot_param(args, model) diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index ebbb1a5..716cab4 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -530,8 +530,8 @@ def main(): error_metric=args.error_metric, ) - if args.show_model_size: - dfatool.cli.print_model_size(model) + if args.show_model_complexity: + dfatool.cli.print_model_complexity(model) if args.export_webconf: attributes = KConfigAttributes(args.kconfig_path, None) diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 129e311..f3e819a 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -227,8 +227,8 @@ def main(): error_metric=args.error_metric, ) - if args.show_model_size: - dfatool.cli.print_model_size(model) + if args.show_model_complexity: + dfatool.cli.print_model_complexity(model) if args.export_model: print(f"Exportding model to {args.export_model}") -- cgit v1.2.3