X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/98e2581bfb93650d661af7e1871bbee7d3a8b418..bace8e5a6ff160e200f799250796c5303dc487ba:/include/simgrid/msg.h diff --git a/include/simgrid/msg.h b/include/simgrid/msg.h index fe968e24fc..562f659456 100644 --- a/include/simgrid/msg.h +++ b/include/simgrid/msg.h @@ -29,7 +29,7 @@ SG_BEGIN_DECL() typedef struct s_smx_rvpoint *msg_mailbox_t; /* ******************************** Environment ************************************ */ -typedef surf_As *msg_as_t; +typedef simgrid_As *msg_as_t; /* ******************************** Host ************************************ */ @@ -284,12 +284,16 @@ XBT_PUBLIC(void *) MSG_host_get_data(msg_host_t host); XBT_PUBLIC(void) MSG_host_on(msg_host_t host); XBT_PUBLIC(void) MSG_host_off(msg_host_t host); XBT_PUBLIC(msg_host_t) MSG_host_self(void); -XBT_PUBLIC(double) MSG_get_host_speed(msg_host_t h); +XBT_PUBLIC(double) MSG_host_get_speed(msg_host_t h); XBT_PUBLIC(int) MSG_host_get_core_number(msg_host_t h); XBT_PUBLIC(xbt_swag_t) MSG_host_get_process_list(msg_host_t h); XBT_PUBLIC(int) MSG_host_is_on(msg_host_t h); XBT_PUBLIC(int) MSG_host_is_off(msg_host_t h); +// deprecated +XBT_PUBLIC(double) MSG_get_host_speed(msg_host_t h); + + XBT_PUBLIC(double) MSG_host_get_power_peak_at(msg_host_t h, int pstate); XBT_PUBLIC(double) MSG_host_get_current_power_peak(msg_host_t h); XBT_PUBLIC(int) MSG_host_get_nb_pstates(msg_host_t h);