X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f9df6a0ce7023e4e22d83bb6c50f27bd21fab329..befbbbe1fbb31663a8f91e24ce12df271cf4ae79:/include/simgrid/plugins/energy.h diff --git a/include/simgrid/plugins/energy.h b/include/simgrid/plugins/energy.h index f21799fe10..bc1da109dc 100644 --- a/include/simgrid/plugins/energy.h +++ b/include/simgrid/plugins/energy.h @@ -12,12 +12,13 @@ SG_BEGIN_DECL() -XBT_PUBLIC(void) sg_energy_plugin_init(); +XBT_PUBLIC(void) sg_host_energy_plugin_init(); +XBT_PUBLIC(void) sg_host_energy_update_all(); XBT_PUBLIC(double) sg_host_get_consumed_energy(sg_host_t host); XBT_PUBLIC(double) sg_host_get_wattmin_at(sg_host_t host, int pstate); XBT_PUBLIC(double) sg_host_get_wattmax_at(sg_host_t host, int pstate); -#define MSG_energy_plugin_init() sg_energy_plugin_init() +#define MSG_host_energy_plugin_init() sg_energy_plugin_init() #define MSG_host_get_consumed_energy(host) sg_host_get_consumed_energy(host) #define MSG_host_get_wattmin_at(host,pstate) sg_host_get_wattmin_at(host,pstate) #define MSG_host_get_wattmax_at(host,pstate) sg_host_get_wattmax_at(host,pstate)