X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/efffaf113f3c24d61baf9f3f9684622aa718ceed..d04fca45db7b95d95da6615e54a38c467ef3c230:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 78fbceacac..c2b0ea028e 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -319,8 +319,11 @@ XBT_PUBLIC(void) simcall_host_set_data(smx_host_t host, void *data); XBT_PUBLIC(double) simcall_host_get_current_power_peak(smx_host_t host); XBT_PUBLIC(double) simcall_host_get_power_peak_at(smx_host_t host, int pstate_index); XBT_PUBLIC(int) simcall_host_get_nb_pstates(smx_host_t host); -XBT_PUBLIC(void) simcall_host_set_power_peak_at(smx_host_t host, int pstate_index); +XBT_PUBLIC(void) simcall_host_set_pstate(smx_host_t host, int pstate_index); +XBT_PUBLIC(int) simcall_host_get_pstate(smx_host_t host); XBT_PUBLIC(double) simcall_host_get_consumed_energy(smx_host_t host); +XBT_PUBLIC(double) simcall_host_get_wattmin_at(smx_host_t host, int pstate); +XBT_PUBLIC(double) simcall_host_get_wattmax_at(smx_host_t host, int pstate); XBT_PUBLIC(smx_synchro_t) simcall_host_execute(const char *name, smx_host_t host, double flops_amount,