X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/a6b73fab30fa59bb7ce701ebec47e52e1d373e26..HEAD:/process.cpp?ds=sidebyside diff --git a/process.cpp b/process.cpp index 76082c5..38cec99 100644 --- a/process.cpp +++ b/process.cpp @@ -249,7 +249,7 @@ void process::compute_loop() idle_duration += MSG_get_clock() - idle_since_date; ++comp_iter; double flops = opt::comp_cost(real_load); - msg_task_t task = MSG_task_create("computation", flops, 0.0, NULL); + msg_task_t task = MSG_task_create("computation", flops, 0.0, nullptr); // MSG_task_set_category(task, TRACE_CAT_COMP); XBT_DEBUG("compute %g flop%s", flops, ESSE(flops)); MSG_task_execute(task);