A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing HAVE_TRACING ifdef/endif in smx_action.c
[simgrid.git]
/
src
/
simix
/
smx_action.c
diff --git
a/src/simix/smx_action.c
b/src/simix/smx_action.c
index adeea21d09270a56c368331bcb8ab6549479e8e6..7984882150bfbc0b17b8417f5a778c7b45dd5e68 100644
(file)
--- a/
src/simix/smx_action.c
+++ b/
src/simix/smx_action.c
@@
-50,7
+50,9
@@
smx_action_t SIMIX_action_communicate(smx_host_t sender,
/* initialize them */
act->name = xbt_strdup(name);
act->source = sender;
/* initialize them */
act->name = xbt_strdup(name);
act->source = sender;
+#ifdef HAVE_TRACING
act->category = NULL;
act->category = NULL;
+#endif
act->surf_action =
surf_workstation_model->extension.workstation.communicate(sender->host,
act->surf_action =
surf_workstation_model->extension.workstation.communicate(sender->host,
@@
-90,7
+92,9
@@
smx_action_t SIMIX_action_execute(smx_host_t host, const char *name,
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
+#ifdef HAVE_TRACING
act->category = NULL;
act->category = NULL;
+#endif
/* set communication */
act->surf_action =
/* set communication */
act->surf_action =
@@
-135,7
+139,9
@@
smx_action_t SIMIX_action_sleep(smx_host_t host, double duration)
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
/* initialize them */
act->source = host;
act->name = xbt_strdup(name);
+#ifdef HAVE_TRACING
act->category = NULL;
act->category = NULL;
+#endif
act->surf_action =
surf_workstation_model->extension.workstation.sleep(host->host, duration);
act->surf_action =
surf_workstation_model->extension.workstation.sleep(host->host, duration);
@@
-357,7
+363,9
@@
smx_action_t SIMIX_action_parallel_execute(char *name, int host_nb,
/* initialize them */
act->name = xbt_strdup(name);
/* initialize them */
act->name = xbt_strdup(name);
+#ifdef HAVE_TRACING
act->category = NULL;
act->category = NULL;
+#endif
/* set action */
/* set action */