A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
introduce a simcall_blocking(), and improve the comments
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_status.cpp
diff --git
a/src/smpi/mpi/smpi_status.cpp
b/src/smpi/mpi/smpi_status.cpp
index
6900f3d
..
7c8d6e1
100644
(file)
--- a/
src/smpi/mpi/smpi_status.cpp
+++ b/
src/smpi/mpi/smpi_status.cpp
@@
-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();
}