Commit 8c1192b3 authored by Steffen Lackner's avatar Steffen Lackner
Browse files

[code] reduce sleep time while waiting for messages from scheduler to improve...

[code] reduce sleep time while waiting for messages from scheduler to improve simulation performance
parent a1ab0e12
......@@ -315,7 +315,7 @@ int execute_profile(BatsimContext *context,
if (data->on_timeout == "") {
XBT_INFO("Waiting for message from scheduler");
while (true) {
static double sleeptime = 0.00001;
static double sleeptime = 0.005;
if (sleeptime < *remaining_time)
{
MSG_process_sleep(sleeptime);
......
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