- DEBUG2("Simulate the run of a task of %f sec for %s",duration,locbuf);
- task = MSG_task_create("task", (duration)/reference, 0 , NULL);
- MSG_task_execute(task);
- MSG_task_destroy(task);
+ XBT_DEBUG("Simulate the run of a task of %f sec for %s", duration, locbuf);
+ gras_cpu_burn(duration / reference);