X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ebf8c46c16a40fde708f840334c9e28e10060d4e..9e6224ecd95ff7b6452fe9b2c088138877797542:/include/msg/msg.h diff --git a/include/msg/msg.h b/include/msg/msg.h index d96ac022e0..fb6508de1b 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -105,6 +105,12 @@ XBT_PUBLIC(xbt_swag_t) MSG_host_get_process_list(msg_host_t h); XBT_PUBLIC(int) MSG_host_is_avail(msg_host_t h); XBT_PUBLIC(void) __MSG_host_destroy(msg_host_priv_t host); +XBT_PUBLIC(double) MSG_get_host_power_peak_at(msg_host_t h, int pstate_index); +XBT_PUBLIC(double) MSG_get_host_current_power_peak(msg_host_t h); +XBT_PUBLIC(int) MSG_get_host_nb_pstates(msg_host_t h); +XBT_PUBLIC(void) MSG_set_host_power_peak_at(msg_host_t h, int pstate); +XBT_PUBLIC(double) MSG_get_host_consumed_energy(msg_host_t h); + /*property handlers*/ XBT_PUBLIC(xbt_dict_t) MSG_host_get_properties(msg_host_t host); XBT_PUBLIC(const char *) MSG_host_get_property_value(msg_host_t host,