Commit 588210f2 authored by Noah Wolfe's avatar Noah Wolfe

Fixing Slim Fly mean_interval calculation for synthetic workloads

parent 9cb2bf2d
......@@ -230,11 +230,11 @@ static void issue_event(
}
if(load != 0)
{
MEAN_INTERVAL = bytes_to_ns(this_packet_size, load*this_global_bandwidth) + this_link_delay;
MEAN_INTERVAL = bytes_to_ns(this_packet_size, load*this_global_bandwidth);
}
/* skew each kickoff event slightly to help avoid event ties later on */
kickoff_time = g_tw_lookahead + MEAN_INTERVAL + tw_rand_exponential(lp->rng, (double)MEAN_INTERVAL/100);
kickoff_time = g_tw_lookahead + tw_rand_exponential(lp->rng, MEAN_INTERVAL);
e = tw_event_new(lp->gid, kickoff_time, lp);
m = tw_event_data(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment