summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-01-11 16:16:35 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-01-11 16:16:35 +0100
commit47883f13f29d59de0b9f171ef570cb9b4634e577 (patch)
tree463ddf7e032271d39cc3a8073c654801c31d5fa0 /bin
parent2b66c82ef5d3ec4bfb96022de29aeb8e0b2acb0b (diff)
Rename --show-model-size to --show-model-complexity
also: make it work for non-tree models
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-archive.py4
-rwxr-xr-xbin/analyze-kconfig.py4
-rwxr-xr-xbin/analyze-log.py4
3 files changed, 6 insertions, 6 deletions
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}")