diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-24 17:52:47 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-08-24 17:52:47 +0200 |
| commit | 77fba735aeecf69997034bfb33611489b85ba3b4 (patch) | |
| tree | 468f041b93b8df68983a212190f7f580dddcd231 | |
| parent | 3091b6844c7738b365a71095eb460add2f942f01 (diff) | |
| download | allocbench-77fba735aeecf69997034bfb33611489b85ba3b4.tar.gz allocbench-77fba735aeecf69997034bfb33611489b85ba3b4.zip | |
plot traces produced by chattymalloc
| -rwxr-xr-x | bench.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -10,6 +10,7 @@ import subprocess import sys import traceback +import src.chattyparser import src.facter import src.globalvars from src.util import * @@ -242,7 +243,12 @@ def main(): # restore allocs bench.allocators = old_allocs - print(bench.results) + + if analyse_alloc == "chattymalloc": + print_info("Plotting chattymalloc histograms") + for f in os.listdir(bench.result_dir): + if f.startswith("chatty_") and f.endswith(".txt"): + chattyparser.plot(f) if args.runs > 0: print_status("Running", bench.name, "...") |
