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
Actor: make the refcount observable, and improve debug messages
[simgrid.git]
/
src
/
simix
/
smx_global.cpp
diff --git
a/src/simix/smx_global.cpp
b/src/simix/smx_global.cpp
index
9ad348e
..
ca3e4b9
100644
(file)
--- a/
src/simix/smx_global.cpp
+++ b/
src/simix/smx_global.cpp
@@
-171,7
+171,7
@@
void Global::empty_trash()
while (not actors_to_destroy.empty()) {
smx_actor_t actor = &actors_to_destroy.front();
actors_to_destroy.pop_front();
while (not actors_to_destroy.empty()) {
smx_actor_t actor = &actors_to_destroy.front();
actors_to_destroy.pop_front();
- XBT_DEBUG("Getting rid of %
p", actor
);
+ XBT_DEBUG("Getting rid of %
s (refcount: %d)", actor->get_cname(), actor->get_refcount()
);
intrusive_ptr_release(actor);
}
#if SIMGRID_HAVE_MC
intrusive_ptr_release(actor);
}
#if SIMGRID_HAVE_MC