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
can be interesting to get the value of the alpha parameter for parallel
[simgrid.git]
/
src
/
msg
/
msg_host.c
diff --git
a/src/msg/msg_host.c
b/src/msg/msg_host.c
index
53e1ac5
..
a503903
100644
(file)
--- a/
src/msg/msg_host.c
+++ b/
src/msg/msg_host.c
@@
-131,12
+131,15
@@
void __MSG_host_destroy(msg_host_t host) {
free(host);
}
free(host);
}
-#ifdef MSG_USE_DEPRECATED
+/** \ingroup m_host_management
+ * \brief Return the current number MSG hosts.
+ */
int MSG_get_host_number(void)
{
return xbt_lib_length(host_lib);
}
int MSG_get_host_number(void)
{
return xbt_lib_length(host_lib);
}
+#ifdef MSG_USE_DEPRECATED
msg_host_t *MSG_get_host_table(void)
{
void **array;
msg_host_t *MSG_get_host_table(void)
{
void **array;
@@
-211,7
+214,7
@@
const char *MSG_host_get_property_value(msg_host_t host, const char *name)
}
/** \ingroup m_host_management
}
/** \ingroup m_host_management
- * \brief Returns a xbt_d
ynar
_t consisting of the list of properties assigned to this host
+ * \brief Returns a xbt_d
ict
_t consisting of the list of properties assigned to this host
*
* \param host a host
* \return a dict containing the properties
*
* \param host a host
* \return a dict containing the properties