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
Add intial steps to transfer transitions to the MC
[simgrid.git]
/
src
/
mc
/
remote
/
Channel.cpp
diff --git
a/src/mc/remote/Channel.cpp
b/src/mc/remote/Channel.cpp
index
ef234a8
..
b7e70bf
100644
(file)
--- a/
src/mc/remote/Channel.cpp
+++ b/
src/mc/remote/Channel.cpp
@@
-40,7
+40,7
@@
ssize_t Channel::receive(void* message, size_t size, bool block) const
{
ssize_t res = recv(this->socket_, message, size, block ? 0 : MSG_DONTWAIT);
if (res != -1)
- XBT_DEBUG("Receive %s
", to_c_str(*(MessageType*)message)
);
+ XBT_DEBUG("Receive %s
(requested %lu bytes to be sent; received %lu)", to_c_str(*(MessageType*)message), size, res
);
else
XBT_ERROR("Channel::receive failure: %s", strerror(errno));
return res;