diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-08-12 11:50:06 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-08-12 11:50:06 +0200 |
commit | b619673ffc35fa60276bd4f654669aa04137e007 (patch) | |
tree | 5992e67636efddbe27c167d7ff990e4f3266cf60 | |
parent | 17f890654c6ee10c6c65481f00c585993140ddf9 (diff) |
analyze timing: print dependence ratio data
-rwxr-xr-x | bin/analyze-timing.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/analyze-timing.py b/bin/analyze-timing.py index d459144..19de8bf 100755 --- a/bin/analyze-timing.py +++ b/bin/analyze-timing.py @@ -239,10 +239,14 @@ if __name__ == '__main__': print('{:10s} {:10s} {:10s} stddev {:f}'.format( transition, attribute, param, model.stats.stats[transition][attribute]['std_by_param'][param] )) + print('{:10s} {:10s} dependence on {:15s}: {:.2f}'.format( + transition, attribute, param, model.stats.param_dependence_ratio(transition, attribute, param))) for i, arg_stddev in enumerate(model.stats.stats[transition][attribute]['std_by_arg']): print('{:10s} {:10s} arg{:d} stddev {:f}'.format( transition, attribute, i, arg_stddev )) + print('{:10s} {:10s} dependence on arg{:d}: {:.2f}'.format( + transition, attribute, i, model.stats.arg_dependence_ratio(transition, attribute, i))) if info != None: for param_name in sorted(info['fit_result'].keys(), key=str): param_fit = info['fit_result'][param_name]['results'] |