コード例 #1
0
/**
 * Measurement wrapper for MPI_Comm_set_name
 * @note Auto-generated by wrapgen from template: std.w
 * @note C interface
 * @note Introduced with MPI 2.0
 * @ingroup cg_ext
 */
int MPI_Comm_set_name(MPI_Comm comm,
                      char*    comm_name)
{
  int return_val;

  if (IS_EVENT_GEN_ON_FOR(CG_EXT))
  {
    EVENT_GEN_OFF();
    esd_enter(epk_mpi_regid[EPK__MPI_COMM_SET_NAME]);

    return_val = PMPI_Comm_set_name(comm, comm_name);

    esd_exit(epk_mpi_regid[EPK__MPI_COMM_SET_NAME]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Comm_set_name(comm, comm_name);
  }

  return return_val;
}
コード例 #2
0
ファイル: smpi_mpi.c プロジェクト: FlorianPO/simgrid
int MPI_Comm_set_name (MPI_Comm comm, char* name){
  return PMPI_Comm_set_name (comm, name);
}