X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/485fa582bda7c51fb184bf0f82d0eb250be9f805..7d195832dafde68afd749dd614e9a14d697bdb92:/include/simgrid/host.h diff --git a/include/simgrid/host.h b/include/simgrid/host.h index bb73630c0b..f77f9102cd 100644 --- a/include/simgrid/host.h +++ b/include/simgrid/host.h @@ -64,7 +64,7 @@ XBT_PUBLIC void sg_host_get_disks(const_sg_host_t host, unsigned int* disk_count /** @brief Return the speed of the processor (in flop/s), regardless of the current load on the machine. */ XBT_PUBLIC double sg_host_get_speed(const_sg_host_t host); XBT_ATTRIB_DEPRECATED_v330("Please use sg_host_get_speed()") XBT_PUBLIC double sg_host_speed(const_sg_host_t host); -XBT_PUBLIC double sg_host_get_pstate_speed(const_sg_host_t host, int pstate_index); +XBT_PUBLIC double sg_host_get_pstate_speed(const_sg_host_t host, unsigned long pstate_index); XBT_PUBLIC double sg_host_get_available_speed(const_sg_host_t host); @@ -91,8 +91,8 @@ XBT_PUBLIC const char* sg_host_self_get_name(); */ XBT_PUBLIC unsigned long sg_host_get_nb_pstates(const_sg_host_t host); -XBT_PUBLIC int sg_host_get_pstate(const_sg_host_t host); -XBT_PUBLIC void sg_host_set_pstate(sg_host_t host, int pstate); +XBT_PUBLIC unsigned long sg_host_get_pstate(const_sg_host_t host); +XBT_PUBLIC void sg_host_set_pstate(sg_host_t host, unsigned long pstate); XBT_PUBLIC void sg_host_turn_on(sg_host_t host); XBT_PUBLIC void sg_host_turn_off(sg_host_t host);