From: Arnaud Giersch Date: Thu, 21 Feb 2013 17:28:27 +0000 (+0100) Subject: Define missing function. X-Git-Tag: v3_9_90~474 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6691098f0f1d7f013f38899999d683c1b22ee11d?hp=41d5f3c8a30bf77b309143b174ea5a616b24c5c2 Define missing function. --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index fd1a3a47ae..d399b462f8 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -1171,6 +1171,11 @@ smx_process_t SIMIX_comm_get_dst_proc(smx_action_t action) } #ifdef HAVE_LATENCY_BOUND_TRACKING +int SIMIX_pre_comm_is_latency_bounded(smx_simcall_t simcall, smx_action_t action) +{ + return SIMIX_comm_is_latency_bounded(action); +} + /** * \brief verify if communication is latency bounded * \param comm The communication diff --git a/src/simix/smx_network_private.h b/src/simix/smx_network_private.h index 263d0ba403..af4a73f413 100644 --- a/src/simix/smx_network_private.h +++ b/src/simix/smx_network_private.h @@ -113,5 +113,8 @@ void* SIMIX_pre_comm_get_src_data(smx_simcall_t simcall, smx_action_t action); void* SIMIX_pre_comm_get_dst_data(smx_simcall_t simcall, smx_action_t action); smx_process_t SIMIX_pre_comm_get_src_proc(smx_simcall_t simcall, smx_action_t action); smx_process_t SIMIX_pre_comm_get_dst_proc(smx_simcall_t simcall, smx_action_t action); +#ifdef HAVE_LATENCY_BOUND_TRACKING +int SIMIX_pre_comm_is_latency_bounded(smx_simcall_t simcall, smx_action_t action); +#endif #endif