diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-07-15 16:34:25 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-07-15 16:34:25 +0200 |
| commit | 9ef16832c7898b4d0af18fc12f1d11e24c4c925c (patch) | |
| tree | 74c51b8c2af16a78b20ef4e78912497684a52db2 /bench_conprod.py | |
| parent | 0d6091831f64ebcb28fe4f495ca21815f0ddb0a6 (diff) | |
| download | allocbench-9ef16832c7898b4d0af18fc12f1d11e24c4c925c.tar.gz allocbench-9ef16832c7898b4d0af18fc12f1d11e24c4c925c.zip | |
add point markers to plots and fix targets
Diffstat (limited to 'bench_conprod.py')
| -rw-r--r-- | bench_conprod.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench_conprod.py b/bench_conprod.py index a47a8e6..44da48a 100644 --- a/bench_conprod.py +++ b/bench_conprod.py @@ -109,7 +109,7 @@ class Benchmark_ConProd(): # nthreads/time = MOPS/S d.append(mid[1]/float(m["cpu-clock:ku"])) y_vals[mid[1]-1] = np.mean(d) - plt.plot(self.nthreads, y_vals, label=target) + plt.plot(self.nthreads, y_vals, label=target, linestyle='-', marker='.') plt.legend() plt.xlabel("consumers/producers") @@ -131,7 +131,7 @@ class Benchmark_ConProd(): # nthreads/time = MOPS/S d.append(n/float(m["cpu-clock:ku"])) y_vals[y_mapping[mid[2]]] = np.mean(d) - plt.plot(x_vals, y_vals, label=target) + plt.plot(x_vals, y_vals, label=target, linestyle='-', marker='.') plt.legend() plt.xticks(x_vals, self.maxsize) |
