Skip to content

Commit

Permalink
fix memory plot
Browse files Browse the repository at this point in the history
  • Loading branch information
clinssen committed Sep 18, 2024
1 parent 1411a18 commit 3a5070b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extras/benchmark/Running/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,13 @@ def plot_memory_scaling_benchmark(sim_data: dict, file_prefix: str):

if abs_or_rel == "rel":
_y = rss / baseline_rss
_y_std = rss_std / baseline_rss
else:
_y = rss
_y_std = rss_std

_ax.errorbar(x, _y, yerr=rss_std / baseline_rss, color=palette(colors[neuron]), linestyle=linestyles["rss"], label=legend[neuron], ecolor='gray', capsize=2, linewidth=2, marker='o', markersize=4)
_ax.errorbar(x, _y, yerr=_y_std, color=palette(colors[neuron]), linestyle=linestyles["rss"], label=legend[neuron], ecolor='gray', capsize=2, linewidth=2, marker='o', markersize=4)
#print("mem for neuron " + neuron + " = " + str(_y) + ", std dev = " + str(_y_std))

if abs_or_rel == "abs":
_ax.set_yscale('log')
Expand Down

0 comments on commit 3a5070b

Please sign in to comment.