X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a740c0aa4e0f82e33046d10290b7a97136473d9..be27c3513d2b7d273749db733659600b10dc0a54:/include/simgrid/host.h diff --git a/include/simgrid/host.h b/include/simgrid/host.h index 3ddb6a73ce..2c3ab3892e 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -51,23 +51,16 @@ XBT_PUBLIC(smx_host_priv_t) sg_host_simix(sg_host_t host); XBT_PUBLIC(void) sg_host_simix_set(sg_host_t host, smx_host_priv_t priv); XBT_PUBLIC(void) sg_host_simix_destroy(sg_host_t host); -// ========== RoutingEdge ============ -XBT_PUBLIC(sg_routing_edge_t) sg_host_edge(sg_host_t host); -XBT_PUBLIC(void) sg_host_edge_set(sg_host_t host, sg_routing_edge_t edge); -XBT_PUBLIC(void) sg_host_edge_destroy(sg_host_t host, int do_callback); - - // Module initializer. Won't survive the conversion to C++. Hopefully. XBT_PUBLIC(void) sg_host_init(void); // =========== user-level functions =============== -XBT_PUBLIC(double) sg_host_get_speed(sg_host_t host); XBT_PUBLIC(double) sg_host_get_available_speed(sg_host_t host); -XBT_PUBLIC(int) sg_host_get_core(sg_host_t host); -XBT_PUBLIC(int) sg_host_get_state(sg_host_t host); +XBT_PUBLIC(int) sg_host_is_on(sg_host_t host); XBT_PUBLIC(int) sg_host_get_nb_pstates(sg_host_t host); XBT_PUBLIC(int) sg_host_get_pstate(sg_host_t host); +XBT_PUBLIC(void) sg_host_set_pstate(sg_host_t host,int pstate); XBT_PUBLIC(double) sg_host_get_consumed_energy(sg_host_t host); SG_END_DECL()