Ejemplo n.º 1
0
/**
 * Measurement wrapper for MPI_Attr_get
 * @note Auto-generated by wrapgen from template: std.w
 * @note C interface
 * @note Introduced with MPI 1.0
 * @ingroup cg_ext
 */
int MPI_Attr_get(MPI_Comm comm,
                 int      keyval,
                 void*    attribute_val,
                 int*     flag)
{
  int return_val;

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

    return_val = PMPI_Attr_get(comm, keyval, attribute_val, flag);

    esd_exit(epk_mpi_regid[EPK__MPI_ATTR_GET]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Attr_get(comm, keyval, attribute_val, flag);
  }

  return return_val;
}
Ejemplo n.º 2
0
int MPI_Attr_get(MPI_Comm comm, int keyval, void* attr_value, int* flag) {
  return PMPI_Attr_get(comm, keyval, attr_value, flag);
}