summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-06-13 13:31:47 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-06-13 13:31:47 +0200
commit3574282c2b6fa669382828011df3a9bfd804a29b (patch)
tree96a724b90b0195340dd59b09c3e77e364f65e0e5 /bin
parenta8a49f244fabc7e3129537c30d668e82a268cac5 (diff)
add --normalize-nfp support (e.g. for MBps -> Bps)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-log.py5
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,