diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-13 13:31:47 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-13 13:31:47 +0200 |
commit | 3574282c2b6fa669382828011df3a9bfd804a29b (patch) | |
tree | 96a724b90b0195340dd59b09c3e77e364f65e0e5 /bin | |
parent | a8a49f244fabc7e3129537c30d668e82a268cac5 (diff) |
add --normalize-nfp support (e.g. for MBps -> Bps)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-log.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 81298d0..667921d 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -125,9 +125,12 @@ def main(): if args.param_shift: param_shift = dfatool.cli.parse_param_shift(args.param_shift) - print(param_shift) dfatool.utils.shift_param_in_aggregate(by_name, parameter_names, param_shift) + if args.normalize_nfp: + norm = dfatool.cli.parse_nfp_normalization(args.normalize_nfp) + dfatool.utils.normalize_nfp_in_aggregate(by_name, norm) + model = AnalyticModel( by_name, parameter_names, |