From: schnorr Date: Tue, 20 Apr 2010 15:10:41 +0000 (+0000) Subject: fix: MSG_task_execute was not being simulated X-Git-Tag: SVN~120 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/71a19f392fce6eb61297d4c1e482fbc9281f0fed?ds=sidebyside fix: MSG_task_execute was not being simulated details: - it seems that computation_amount has the correct value and not comp_amount, which is a pointer git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7621 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/gos.c b/src/msg/gos.c index 8ba6a80846..7b6367d36c 100644 --- a/src/msg/gos.c +++ b/src/msg/gos.c @@ -53,7 +53,7 @@ MSG_error_t MSG_task_execute(m_task_t task) DEBUG1("Computing on %s", MSG_process_self()->simdata->m_host->name); - if (simdata->comp_amount == 0) { + if (simdata->computation_amount == 0) { #ifdef HAVE_TRACING TRACE_msg_task_execute_end (task); #endif