diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-12-22 10:23:45 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-12-22 10:23:45 +0100 |
commit | 6dd31dbb98375b715fcbe463cebd35850f2781e3 (patch) | |
tree | bdf06400fde7e68e8e62955fbbdd2ab03c1ea7e1 /bin | |
parent | 30d2faac5b27bb72e98d5f3ab57b20b1495c1ffa (diff) |
allow limiting precision of dataref exports
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-archive.py | 4 | ||||
-rwxr-xr-x | bin/analyze-kconfig.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index a111492..1f5aba7 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -1036,7 +1036,9 @@ if __name__ == "__main__": ) dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") - dfatool.cli.export_dataref(args.export_dref, dref) + dfatool.cli.export_dataref( + args.export_dref, dref, precision=args.dref_precision + ) if args.export_webconf: if not pta: diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index 4aea5c6..8b11084 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -586,7 +586,9 @@ def main(): ) dref["constructor duration"] = (constructor_duration, r"\second") dref["regression duration"] = (fit_duration, r"\second") - dfatool.cli.export_dataref(args.export_dref, dref) + dfatool.cli.export_dataref( + args.export_dref, dref, precision=args.dref_precision + ) if args.config: kconf = kconfiglib.Kconfig(args.kconfig_path) |