X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/25cc8f2c515534fee077ff6ef9a71b55bfc2786f..ad9cf3dddccaf1d798a39120a83e79d291a57553:/src/msg/msg_host.c diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index a767553db3..6f01ec97b7 100644 --- 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)); } + +/** \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 *