From 1ebb152fdda29842f532715daa49c4ded7887290 Mon Sep 17 00:00:00 2001 From: Neil McGlohon Date: Thu, 16 May 2019 14:29:43 -0400 Subject: [PATCH] fixup: compute_time_speedup event timestamp bug The feature addition of the compute_time_speedup factor did affect the compute time correctly. It, however, didn't affect the scheduling of the new event after the compute time. This resulted in the delay savings from the compute time speedup being applied to the comm. time instead. This has now been resolved. --- src/network-workloads/model-net-mpi-replay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network-workloads/model-net-mpi-replay.c b/src/network-workloads/model-net-mpi-replay.c index e34b6f8..b62a46f 100644 --- a/src/network-workloads/model-net-mpi-replay.c +++ b/src/network-workloads/model-net-mpi-replay.c @@ -1447,7 +1447,7 @@ static void codes_exec_comp_delay( m->rc.saved_delay_sample = s->ross_sample.compute_time; s->compute_time += (mpi_op->u.delay.nsecs/compute_time_speedup); s->ross_sample.compute_time += (mpi_op->u.delay.nsecs/compute_time_speedup); - ts = mpi_op->u.delay.nsecs; + ts = (mpi_op->u.delay.nsecs/compute_time_speedup); if(ts <= g_tw_lookahead) { bf->c28 = 1; -- 2.26.2