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 call + MSG function + Java binding for get_core
[simgrid.git]
/
src
/
msg
/
msg_host.c
diff --git
a/src/msg/msg_host.c
b/src/msg/msg_host.c
index
a767553
..
6f01ec9
100644
(file)
--- a/
src/msg/msg_host.c
+++ b/
src/msg/msg_host.c
@@
-202,6
+202,17
@@
double MSG_get_host_speed(msg_host_t h)
return (simcall_host_get_speed(h));
}
return (simcall_host_get_speed(h));
}
+
+/** \ingroup m_host_management
+ * \brief Return the number of core.
+ */
+int MSG_get_host_core(msg_host_t h)
+{
+ xbt_assert((h != NULL), "Invalid parameters");
+
+ return (simcall_host_get_core(h));
+}
+
/** \ingroup m_host_management
* \brief Returns the value of a given host property
*
/** \ingroup m_host_management
* \brief Returns the value of a given host property
*