X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f5f2842e696f478b54c4a121fbaa44ab7d30d37..93c7b4bd9208b45b5a5899abd1da65262431c33f:/include/simgrid/host.h diff --git a/include/simgrid/host.h b/include/simgrid/host.h index 9c81a53ed1..d65ace35fb 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -79,9 +79,12 @@ XBT_PUBLIC double sg_host_get_available_speed(sg_host_t host); XBT_PUBLIC int sg_host_core_count(sg_host_t host); -/** @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. +/** @brief Returns the current computation load (in flops per second). + * @param host a host */ +XBT_PUBLIC double sg_host_load(sg_host_t host); + +/** @brief Return the location on which the current process is running. */ XBT_PUBLIC sg_host_t sg_host_self(); XBT_PUBLIC const char* sg_host_self_get_name();