From 8391c8848fb489cd1502cf2f47a6bc8268119717 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 7 Oct 2020 13:57:04 +0200 Subject: analyze-archive: switch to argparse --- bin/analyze-archive.py | 343 ++++++++++++++++++++++++++----------------------- 1 file changed, 182 insertions(+), 161 deletions(-) (limited to 'bin/analyze-archive.py') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 65d80b3..66772e6 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -1,70 +1,11 @@ #!/usr/bin/env python3 """ -analyze-archive -- generate PTA energy model from annotated legacy MIMOSA traces. - -Usage: -PYTHONPATH=lib bin/analyze-archive.py [options] +analyze-archive - generate PTA energy model from dfatool benchmark traces analyze-archive generates a PTA energy model from one or more annotated -traces generated by MIMOSA/dfatool-legacy. By default, it does nothing else -- -use one of the --plot-* or --show-* options to examine the generated model. - -Options: ---plot-unparam=::[;::