summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-10-28 16:03:16 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-10-28 16:03:16 +0100
commit345da374e460e2d4ad419d47ea702033be287b9b (patch)
treee9c96bf6b83f426d921e367e19b601984f14a15b /bin
parent06c4a5f52d9a58afac2f5a7d60bd4cc6e8b4ae58 (diff)
Add --add-total-observation support to dref export
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-log.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index 9e48afb..10a71d8 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -297,7 +297,12 @@ def main():
dfatool.cli.export_dot(model, args.export_dot)
if args.export_dref:
- dref = model.to_dref(static_quality, lut_quality, analytic_quality)
+ dref = model.to_dref(
+ static_quality,
+ lut_quality,
+ analytic_quality,
+ with_sum=args.add_total_observation,
+ )
for key, value in timing.items():
dref[f"timing/{key}"] = (value, r"\second")