X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/340e5989155cdf30bbcc9ad7b09c0d112f35d38f..33f32ad6d4e98ec1cbc7eeed1723deee82d59764:/include/msg/msg.h?ds=sidebyside diff --git a/include/msg/msg.h b/include/msg/msg.h index 70c4ce9593..9a3817c5e2 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -15,6 +15,7 @@ BEGIN_DECL() #include "msg/datatypes.h" /************************** Global ******************************************/ +xbt_error_t MSG_config(const char *name, ...); void MSG_global_init(void); void MSG_global_init_args(int *argc, char **argv); void MSG_set_verbosity(MSG_outputmode_t mode); @@ -29,6 +30,7 @@ void MSG_launch_application(const char *file); void MSG_paje_output(const char *filename); double MSG_getClock(void); +double MSG_get_clock(void); /************************** Host handling ***********************************/ MSG_error_t MSG_host_set_data(m_host_t host, void *data); @@ -86,6 +88,8 @@ const char *MSG_task_get_name(m_task_t task); MSG_error_t MSG_task_destroy(m_task_t task); MSG_error_t MSG_task_get(m_task_t * task, m_channel_t channel); +MSG_error_t MSG_task_get_with_time_out(m_task_t * task, m_channel_t channel, + double max_duration); MSG_error_t MSG_task_put(m_task_t task, m_host_t dest, m_channel_t channel); MSG_error_t MSG_task_put_bounded(m_task_t task,