Ejemplo n.º 1
0
/**
 * \brief Set the category of an action.
 *
 * This functions changes the category only. It calls a surf function.
 * \param execution The execution action
 * \param category The tracing category
 */
void simcall_set_category(smx_action_t action, const char *category)
{
  if (category == NULL) {
    return;
  }
  simcall_BODY_set_category(action, category);
}
Ejemplo n.º 2
0
/**
 * \brief Set the category of an synchro.
 *
 * This functions changes the category only. It calls a surf function.
 * \param execution The execution synchro
 * \param category The tracing category
 */
void simcall_set_category(smx_synchro_t synchro, const char *category)
{
  if (category == NULL) {
    return;
  }
  simcall_BODY_set_category(synchro, category);
}
Ejemplo n.º 3
0
/**
 * \brief Set the category of an synchro.
 *
 * This functions changes the category only. It calls a surf function.
 * \param execution The execution synchro
 * \param category The tracing category
 */
void simcall_set_category(smx_activity_t synchro, const char *category)
{
  if (category == nullptr) {
    return;
  }
  simcall_BODY_set_category(synchro, category);
}