From d62aa2369d78218f4301a1c9dda42a1f007a23d1 Mon Sep 17 00:00:00 2001
From: Valentin Trophime <valentin.trophime@inria.fr>
Date: Wed, 23 Oct 2024 18:09:12 +0200
Subject: [PATCH] more repeat by default

---
 scripts/heatmap.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/heatmap.py b/scripts/heatmap.py
index 1844a8f..7bab21f 100755
--- a/scripts/heatmap.py
+++ b/scripts/heatmap.py
@@ -18,7 +18,7 @@ PARAMETERS = {
     "N_Iter": [100, 1_000, 10_000],
 }
 CSV_COLS = ["Reactivity", "DurationTask", "N_Iter", "Baseline", "Preemptive"]
-N_REPEAT = 100
+N_REPEAT = 1000
 
 EXEC = "target/release/examples/overhead"
 REGEX_BASELINE = re.compile(r"Baseline: (\d+)")
@@ -132,6 +132,7 @@ def plot_likelyhood(path: str, n_iter: int, task_dur: int, reac: int):
         & (df["Reactivity"] == reac)
     ]
     assert len(df_filtered) > 0
+    print(len(df_filtered))
     baselines = df_filtered["Baseline"].values
     preemptives = df_filtered["Preemptive"].values
     overhead2 = np.zeros(len(baselines) * len(preemptives))
-- 
GitLab