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
[simix] Move other simcall to the Host class
[simgrid.git]
/
src
/
simix
/
smx_global.cpp
diff --git
a/src/simix/smx_global.cpp
b/src/simix/smx_global.cpp
index
3ba0e93
..
1da0f27
100644
(file)
--- a/
src/simix/smx_global.cpp
+++ b/
src/simix/smx_global.cpp
@@
-698,3
+698,8
@@
xbt_dict_t SIMIX_asr_get_properties(const char *name)
{
return (xbt_dict_t) xbt_lib_get_or_null(as_router_lib, name, ROUTING_PROP_ASR_LEVEL);
}
+
+int SIMIX_is_maestro()
+{
+ return SIMIX_process_self() == simix_global->maestro_process;
+}
\ No newline at end of file