GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit c903aadb authored by Jonathan Jenkins's avatar Jonathan Jenkins

'startup' converted to be latency as in loggp

parent dc99aa98
......@@ -693,7 +693,7 @@ static void handle_msg_start_event(
}
/* calculate send time stamp */
send_queue_time = startup; /* net msg startup cost */
send_queue_time = 0.0; /* net msg startup cost (negligible for this model) */
/* bump up time if the NIC send queue isn't idle right now */
if(ns->send_next_idle[dest_rel_id] > tw_now(lp))
send_queue_time += ns->send_next_idle[dest_rel_id] - tw_now(lp);
......@@ -752,7 +752,7 @@ static void handle_msg_start_event(
void *m_data;
//e_new = tw_event_new(dest_id, send_queue_time, lp);
//m_new = tw_event_data(e_new);
e_new = model_net_method_event_new(dest_id, send_queue_time, lp,
e_new = model_net_method_event_new(dest_id, send_queue_time+startup, lp,
SIMPLEWAN, (void**)&m_new, &m_data);
/* copy entire previous message over, including payload from user of
......
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