Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
isolating latency bounded functions with ifdef's
[simgrid.git] / src / include / simix / simix.h
index 325a5df..6ce4cf1 100644 (file)
@@ -184,7 +184,9 @@ XBT_INLINE XBT_PUBLIC(void) SIMIX_unregister_action_to_semaphore(smx_action_t ac
 
 
 XBT_PUBLIC(double) SIMIX_action_get_remains(smx_action_t action);
+#ifdef HAVE_LATENCY_BOUND_TRACKING
 XBT_PUBLIC(int) SIMIX_action_is_latency_bounded(smx_action_t action);
+#endif
 
 XBT_PUBLIC(e_surf_action_state_t) SIMIX_action_get_state(smx_action_t action);
 
@@ -217,7 +219,9 @@ XBT_PUBLIC(void*) SIMIX_rdv_get_data(smx_rdv_t rdv);
 XBT_INLINE XBT_PUBLIC(void) SIMIX_communication_cancel(smx_comm_t comm);
 XBT_PUBLIC(void) SIMIX_communication_destroy(smx_comm_t comm);
 XBT_PUBLIC(double) SIMIX_communication_get_remains(smx_comm_t comm);
+#ifdef HAVE_LATENCY_BOUND_TRACKING
 XBT_PUBLIC(int)    SIMIX_communication_is_latency_bounded(smx_comm_t comm);
+#endif
 XBT_PUBLIC(void *) SIMIX_communication_get_data(smx_comm_t comm);
 
 XBT_PUBLIC(void *) SIMIX_communication_get_src_buf(smx_comm_t comm);