X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/220a0c6c5a2edccc979b3c7f8ebc1409ff77ae0f..5cc7b86de46ab1595542f8e00219d45837fe82c0:/src/msg/msg_private.h diff --git a/src/msg/msg_private.h b/src/msg/msg_private.h index da670e193b..109ebbc1b3 100644 --- a/src/msg/msg_private.h +++ b/src/msg/msg_private.h @@ -31,7 +31,8 @@ typedef struct simdata_task { msg_process_t receiver; msg_host_t source; double priority; - double rate; + double bound; /* Capping for CPU resource */ + double rate; /* Capping for network resource */ int isused; /* Indicates whether the task is used in SIMIX currently */ int host_nb; /* ==0 if sequential task; parallel task if not */ /******* Parallel Tasks Only !!!! *******/ @@ -101,7 +102,6 @@ XBT_PUBLIC_DATA(xbt_dict_t) MSG_vm_get_properties(msg_vm_t vm); XBT_PUBLIC_DATA(void) MSG_vm_set_property_value(msg_vm_t vm, const char *name, void *value, void_f_pvoid_t free_ctn); XBT_PUBLIC_DATA(msg_vm_t) MSG_vm_get_by_name(const char *name); XBT_PUBLIC_DATA(const char*) MSG_vm_get_name(msg_vm_t vm); -XBT_PUBLIC_DATA(double) get_computed(char *key, msg_vm_t vm, dirty_page_t dp, double remaining, double clock); /************************** Global variables ********************************/ typedef struct MSG_Global {