X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/da62b5cbd53ece70108a4f0eba4757e75f3dc00a..36ed9bb3db4df8293627b73fc83b6250b1026af1:/src/include/smpi/smpi_interface.h diff --git a/src/include/smpi/smpi_interface.h b/src/include/smpi/smpi_interface.h index 7ba0fdc34a..d139ada9df 100644 --- a/src/include/smpi/smpi_interface.h +++ b/src/include/smpi/smpi_interface.h @@ -1,17 +1,14 @@ +/* Copyright (c) 2012-2015. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef _SMPI_INTERFACE_H #define _SMPI_INTERFACE_H #include "smpi/smpi.h" -/********** Tracing **********/ -/* from smpi_instr.c */ -void TRACE_smpi_alloc(void); -void TRACE_smpi_release(void); -void TRACE_smpi_ptp_in(int rank, int src, int dst, const char *operation); -void TRACE_smpi_ptp_out(int rank, int src, int dst, const char *operation); -void TRACE_smpi_send(int rank, int src, int dst); -void TRACE_smpi_recv(int rank, int src, int dst); -void TRACE_smpi_init(int rank); -void TRACE_smpi_finalize(int rank); +SG_BEGIN_DECL() /** \brief MPI collective description */ @@ -108,8 +105,24 @@ XBT_PUBLIC_DATA(int (*mpi_coll_scatter_fun) void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm)); +/** \ingroup MPI barrier + * \brief The list of all available allgather collectives + */ +XBT_PUBLIC_DATA(s_mpi_coll_description_t) mpi_coll_barrier_description[]; +XBT_PUBLIC_DATA(int (*mpi_coll_barrier_fun) + (MPI_Comm comm)); + + XBT_PUBLIC(void) coll_help(const char *category, s_mpi_coll_description_t * table); XBT_PUBLIC(int) find_coll_description(s_mpi_coll_description_t * table, - char *name); + char *name, const char *desc); + + +extern XBT_PRIVATE double smpi_wtime_sleep; +extern XBT_PRIVATE double smpi_iprobe_sleep; +extern XBT_PRIVATE double smpi_test_sleep; + +SG_END_DECL() + #endif /* _SMPI_INTERFAC_H */