X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e694957c5830a9f1407392fa7f76796274aa4d18..c46aba70aa4ccf22cc19fac31d451c7158e922dd:/src/include/smpi/smpi_interface.h diff --git a/src/include/smpi/smpi_interface.h b/src/include/smpi/smpi_interface.h index 00308703cb..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, int size); -void TRACE_smpi_ptp_out(int rank, int src, int dst, const char *operation); -void TRACE_smpi_send(int rank, int src, int dst, int size); -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 */ @@ -119,5 +116,13 @@ XBT_PUBLIC_DATA(int (*mpi_coll_barrier_fun) 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 */