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
deprecate a couple of SIMIX functions
[simgrid.git]
/
src
/
msg
/
msg_legacy.cpp
diff --git
a/src/msg/msg_legacy.cpp
b/src/msg/msg_legacy.cpp
index
105105f
..
6240acd
100644
(file)
--- a/
src/msg/msg_legacy.cpp
+++ b/
src/msg/msg_legacy.cpp
@@
-206,7
+206,11
@@
void MSG_process_unref(msg_process_t process)
{
sg_actor_unref(process);
}
-
+/** @brief Return the current number MSG processes. */
+int MSG_process_get_number()
+{
+ return simgrid_get_actor_count();
+}
/* ************************** NetZones *************************** */
sg_netzone_t MSG_zone_get_root()
{