diff options
Diffstat (limited to 'bin/analyze-archive.py')
-rwxr-xr-x | bin/analyze-archive.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index bf6d5f5..25dfa27 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -613,6 +613,27 @@ if __name__ == "__main__": model.stats.generic_param_dependence_ratio(trans, "energy"), ) ) + else: + try: + print( + "{:10s}: {:.0f} / {:.0f} / {:.0f} pJ (E=P·t)".format( + trans, + static_model(trans, "power") + * static_model(trans, "duration"), + static_model(trans, "rel_power_prev") + * static_model(trans, "duration"), + static_model(trans, "rel_power_next") + * static_model(trans, "duration"), + ) + ) + except KeyError: + print( + "{:10s}: {:.0f} pJ (E=P·t)".format( + trans, + static_model(trans, "power") + * static_model(trans, "duration"), + ) + ) print("{:10s}: {:.0f} µs".format(trans, static_model(trans, "duration"))) try: print( |