/**
 * Measurement wrapper for MPI_Graph_map
 * @note Auto-generated by wrapgen from template: std.w
 * @note C interface
 * @note Introduced with MPI 1.0
 * @ingroup topo
 */
int MPI_Graph_map(MPI_Comm comm,
                  int      nnodes,
                  int*     index,
                  int*     edges,
                  int*     newrank)
{
  int return_val;

  if (IS_EVENT_GEN_ON_FOR(TOPO))
  {
    EVENT_GEN_OFF();
    esd_enter(epk_mpi_regid[EPK__MPI_GRAPH_MAP]);

    return_val = PMPI_Graph_map(comm, nnodes, index, edges, newrank);

    esd_exit(epk_mpi_regid[EPK__MPI_GRAPH_MAP]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Graph_map(comm, nnodes, index, edges, newrank);
  }

  return return_val;
}
Exemple #2
0
int MPI_Graph_map ( MPI_Comm comm_old, int nnodes, int *index, int *edges, 
                   int *newrank )
{
  _MPI_COVERAGE();
  return PMPI_Graph_map (comm_old, nnodes, index, edges, newrank);
}