Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
introduce a simcall_blocking(), and improve the comments
[simgrid.git] / src / smpi / mpi / smpi_status.cpp
index 6900f3d..7c8d6e1 100644 (file)
@@ -36,7 +36,7 @@ void Status::set_elements (MPI_Status * status, MPI_Datatype , int count){
   status->count=count;
 }
 
-int Status::get_count(MPI_Status * status, MPI_Datatype datatype)
+int Status::get_count(const MPI_Status * status, MPI_Datatype datatype)
 {
   return status->count / datatype->size();
 }