diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-14 01:37:51 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-10-14 01:37:51 +0200 |
| commit | 1c0731c3afddab02bbf1c472ac8e70ead6b687d1 (patch) | |
| tree | ebedc2f974504cf3c61945d0f4896527cf343942 | |
| parent | 74a2dd607a44d871556cf86b602c7968f31ddcd0 (diff) | |
| download | allocbench-1c0731c3afddab02bbf1c472ac8e70ead6b687d1.tar.gz allocbench-1c0731c3afddab02bbf1c472ac8e70ead6b687d1.zip | |
rename matplotlib_histograms.py to histogram.py
the script produces an ascii histogram per default and only uses
matplotlib on demand so the name is confusing.
| -rwxr-xr-x | scripts/histogram.py (renamed from scripts/matplotlib_histograms.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/matplotlib_histograms.py b/scripts/histogram.py index 7fae59a..2dd3b6c 100755 --- a/scripts/matplotlib_histograms.py +++ b/scripts/histogram.py @@ -48,6 +48,9 @@ def main(): for size, amount in hist.items(): print(size, amount, file=csv_file) + if not args.no_ascii: + src.chattyparser.plot_hist_ascii(f"{fpath}.hist.txt", hist, calls) + if args.interactive: sizes = [] sizes_smaller_4K = [] @@ -81,8 +84,5 @@ def main(): plt.title("All sizes") plt.show() - if not args.no_ascii: - src.chattyparser.plot_hist_ascii(f"{fpath}.hist.txt", hist, calls) - if __name__ == "__main__": main() |
