diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-18 17:40:57 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-09-18 17:40:57 +0200 |
| commit | c192f47de98dc205cac7deb0af367b087f0bfd84 (patch) | |
| tree | c938fc27ce7c49d2ea206e960e361e88afda5cd9 /larson.py | |
| parent | 9dcc3693eb1b12c815f965f07aea4038b042e884 (diff) | |
| download | allocbench-c192f47de98dc205cac7deb0af367b087f0bfd84.tar.gz allocbench-c192f47de98dc205cac7deb0af367b087f0bfd84.zip | |
use perf again and add cache and rss plot
Diffstat (limited to 'larson.py')
| -rw-r--r-- | larson.py | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -14,7 +14,6 @@ class Benchmark_Larson( Benchmark ): (randomly selected) to other threads to be freed.""" self.cmd = "build/larson{binary_suffix} 1 8 {maxsize} 1000 50000 1 {threads}" - self.measure_cmd = "" self.args = { "maxsize" : [8, 32, 64, 128, 256, 512, 1024], @@ -33,9 +32,23 @@ class Benchmark_Larson( Benchmark ): def summary(self, sumdir): # Plot threads->throughput and maxsize->throughput - self.plot_fixed_arg("{throughput}", - ylabel="'OPS/s'", + self.plot_fixed_arg("{throughput}/1000000", + ylabel="'MOPS/s'", title = "'Larson: ' + arg + ' ' + str(arg_value)", + filepostfix = "throughput", + sumdir=sumdir) + + self.plot_fixed_arg("({L1-dcache-load-misses}/{L1-dcache-loads})*100", + ylabel="'l1 cache misses in %'", + title = "'Larson cache misses: ' + arg + ' ' + str(arg_value)", + filepostfix = "cachemisses", + sumdir=sumdir) + + # Memusage + self.plot_fixed_arg("int({VmHWM})", + ylabel='"VmHWM in kB"', + title= '"Loop Memusage: " + arg + " " + str(arg_value)', + filepostfix="memusage", sumdir=sumdir) larson = Benchmark_Larson() |
