src/instr/instr_paje_trace.c
src/instr/instr_msg_task.c
src/instr/instr_msg_process.c
- src/instr/instr_smx.c
src/instr/instr_surf.c
src/instr/instr_smpi.c
src/instr/instr_simdag.c
void TRACE_msg_process_sleep_out(m_process_t process);
void TRACE_msg_process_end(m_process_t process);
-/* from smx.c */
-void TRACE_smx_host_execute(smx_action_t act);
-void TRACE_smx_action_communicate(smx_action_t act, smx_process_t proc);
-void TRACE_smx_action_destroy(smx_action_t act);
-
/* from surf_instr.c */
void TRACE_surf_alloc(void);
void TRACE_surf_release(void);
+++ /dev/null
-/* Copyright (c) 2010. The SimGrid Team.
- * All rights reserved. */
-
-/* This program is free software; you can redistribute it and/or modify it
- * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include "instr/instr_private.h"
-
-#ifdef HAVE_TRACING
-
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(instr_simix, instr, "Tracing Simix");
-
-void TRACE_smx_host_execute(smx_action_t act)
-{
- if (!TRACE_is_enabled()) return;
- return;
-}
-
-void TRACE_smx_action_communicate(smx_action_t act, smx_process_t proc)
-{
- if (!TRACE_is_enabled()) return;
- return;
-}
-
-void TRACE_smx_action_destroy(smx_action_t act)
-{
- if (!TRACE_is_enabled()) return;
- return;
-}
-
-#endif /* HAVE_TRACING */
surf_workstation_model->set_priority(action->execution.surf_exec, priority);
}
-#ifdef HAVE_TRACING
- TRACE_smx_host_execute(action);
-#endif
-
XBT_DEBUG("Create execute action %p", action);
return action;
action->execution.surf_exec = NULL;
}
-#ifdef HAVE_TRACING
- TRACE_smx_action_destroy(action);
-#endif
xbt_mallocator_release(simix_global->action_mallocator, action);
}
action->latency_limited = SIMIX_comm_is_latency_bounded( action ) ;
#endif
-#ifdef HAVE_TRACING
- TRACE_smx_action_destroy(action);
-#endif
-
xbt_free(action->name);
SIMIX_comm_destroy_internal_actions(action);
action->state = SIMIX_RUNNING;
-#ifdef HAVE_TRACING
- TRACE_smx_action_communicate(action, action->comm.src_proc);
-#endif
-
/* If a link is failed, detect it immediately */
if (surf_workstation_model->action_state_get(action->comm.surf_comm) == SURF_ACTION_FAILED) {
XBT_DEBUG("Communication from '%s' to '%s' failed to start because of a link failure",
XBT_DEBUG("Destroy action %p", action);
if (action->sleep.surf_sleep)
action->sleep.surf_sleep->model_type->action_unref(action->sleep.surf_sleep);
-#ifdef HAVE_TRACING
- TRACE_smx_action_destroy(action);
-#endif
xbt_mallocator_release(simix_global->action_mallocator, action);
}