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

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

    return_val = PMPI_Graph_get(comm, maxindex, maxedges, index, edges);

    esd_exit(epk_mpi_regid[EPK__MPI_GRAPH_GET]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Graph_get(comm, maxindex, maxedges, index, edges);
  }

  return return_val;
}
Beispiel #2
0
int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int* index, int* edges) {
  return PMPI_Graph_get(comm, maxindex, maxedges, index, edges);
}