X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4299696f4a0ac31e2758ee601f09c607ed42676a..29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85:/include/simgrid/host.h diff --git a/include/simgrid/host.h b/include/simgrid/host.h index 4a72056e6e..e75e509845 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -93,6 +93,12 @@ XBT_PUBLIC double sg_host_get_available_speed(sg_host_t host); XBT_PUBLIC int sg_host_core_count(sg_host_t host); +/** @ingroup m_host_management + * @brief Returns the current computation load (in flops per second). + * @param host a host + */ +XBT_PUBLIC double sg_host_load(sg_host_t host); + /** @ingroup m_process_management * @brief Return the location on which a process is running. * @return the sg_host_t corresponding to the location on which @a process is running.