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
new signal: s4u::onDeadlock()
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Engine.hpp
diff --git
a/include/simgrid/s4u/Engine.hpp
b/include/simgrid/s4u/Engine.hpp
index
e705bab
..
4b39af1
100644
(file)
--- a/
include/simgrid/s4u/Engine.hpp
+++ b/
include/simgrid/s4u/Engine.hpp
@@
-58,6
+58,8
@@
public:
size_t getHostCount();
void getHostList(std::vector<Host*> * whereTo);
size_t getHostCount();
void getHostList(std::vector<Host*> * whereTo);
+ size_t getLinkCount();
+ void getLinkList(std::vector<Link*> * list);
/** @brief Run the simulation */
void run();
/** @brief Run the simulation */
void run();
@@
-124,6
+126,9
@@
extern XBT_PRIVATE xbt::signal<void()> onSimulationEnd;
/** Callback fired when the time jumps into the future */
extern XBT_PRIVATE xbt::signal<void(double)> onTimeAdvance;
/** Callback fired when the time jumps into the future */
extern XBT_PRIVATE xbt::signal<void(double)> onTimeAdvance;
+
+/** Callback fired when the time cannot jump because of inter-actors deadlock */
+extern XBT_PRIVATE xbt::signal<void(void)> onDeadlock;
}
} // namespace simgrid::s4u
}
} // namespace simgrid::s4u