X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e1973b337aa4a275d58f5f934f899291612b698a..e049fe573b321fbf974191c9f084873dc306009c:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 544f97b8c0..d42275c9f9 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -82,6 +82,20 @@ double simcall_host_get_speed(smx_host_t host) return simcall_BODY_host_get_speed(host); } +/** + * \ingroup simix_host_management + * \brief Returns the number of core of the processor. + * + * \param host A SIMIX host + * \return The number of core + */ +int simcall_host_get_core(smx_host_t host) +{ + return simcall_BODY_host_get_core(host); +} + + + /** * \ingroup simix_host_management * \brief Returns the available speed of the processor.