void smpi_mpi_sendrecv(void* sendbuf, int sendcount, MPI_Datatype sendtype, int dst, int sendtag, void* recvbuf, int recvcount, MPI_Datatype recvtype, int src, int recvtag, MPI_Comm comm, MPI_Status* status);
int smpi_mpi_test(MPI_Request* request, MPI_Status* status);
int smpi_mpi_testany(int count, MPI_Request requests[], int* index, MPI_Status* status);
+void smpi_mpi_get_count(MPI_Status *status, MPI_Datatype datatype, int *count);
void smpi_mpi_wait(MPI_Request* request, MPI_Status* status);
int smpi_mpi_waitany(int count, MPI_Request requests[], MPI_Status* status);
void smpi_mpi_waitall(int count, MPI_Request requests[], MPI_Status status[]);
int smpi_coll_basic_alltoallv(void* sendbuf, int* sendcounts, int* senddisps, MPI_Datatype sendtype, void* recvbuf, int *recvcounts, int* recvdisps, MPI_Datatype recvtype, MPI_Comm comm);
// utilities
-void smpi_bench_begin(MPI_Comm comm, const char* mpi_call);
-void smpi_bench_end(MPI_Comm comm, const char* mpi_call);
+void smpi_bench_begin(int rank, const char* mpi_call);
+void smpi_bench_end(int rank, const char* mpi_call);
#endif