Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
inline two more getter simcalls: host_get_core and host_get_state
[simgrid.git] / include / simgrid / host.h
index 28987a3..46a7f53 100644 (file)
@@ -64,6 +64,8 @@ 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);
 
 
 SG_END_DECL()