diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-26 18:09:59 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-26 18:09:59 +0200 |
commit | 03416c3f762f58f722eea0edc290c0f379320bdf (patch) | |
tree | e12d716a8f0c37be4accb7b15250c65ce5bdb169 | |
parent | 6cca3c3abb9ba0ee9be987b6eb89fe71f5b9ffa2 (diff) |
TRNS host: do not needlessly re-allocate DPUs
-rw-r--r-- | TRNS/host/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TRNS/host/app.c b/TRNS/host/app.c index 50c0de1..758f355 100644 --- a/TRNS/host/app.c +++ b/TRNS/host/app.c @@ -131,6 +131,7 @@ int main(int argc, char **argv) { DPU_ASSERT(dpu_load(dpu_set, DPU_BINARY, NULL)); stop(&timer, 2); DPU_ASSERT(dpu_get_nr_dpus(dpu_set, &nr_of_dpus)); + active_dpus_before = active_dpus; } else if (first_round){ start(&timer, 1, 0); DPU_ASSERT(dpu_alloc(active_dpus, NULL, &dpu_set)); |