コード例 #1
0
ファイル: smx_user.c プロジェクト: ricardojrdez/simgrid
/**
 * \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);
}
コード例 #2
0
ファイル: libsmx.cpp プロジェクト: krytarowski/simgrid
/**
 * \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);
}
コード例 #3
0
ファイル: libsmx.cpp プロジェクト: fabienchaix/simgrid
/**
 * \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);
}