Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix: MSG_task_execute was not being simulated
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 20 Apr 2010 15:10:41 +0000 (15:10 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 20 Apr 2010 15:10:41 +0000 (15:10 +0000)
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

src/msg/gos.c

index 8ba6a80..7b6367d 100644 (file)
@@ -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