git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9023
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
const char *function_name,
xbt_dynar_t arguments);
const char *function_name,
xbt_dynar_t arguments);
-XBT_PUBLIC(double) MSG_get_clock(void);
+XBT_INLINE XBT_PUBLIC(double) MSG_get_clock(void);
XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void);
XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void);
/* They cannot be called from maestro's context, and they are thread safe. */
/******************************************************************************/
/* They cannot be called from maestro's context, and they are thread safe. */
/******************************************************************************/
-XBT_PUBLIC(double) SIMIX_get_clock(void);
+XBT_INLINE XBT_PUBLIC(double) SIMIX_get_clock(void);
/******************************* Host Requests ********************************/
/* FIXME: use handlers and keep smx_host_t hidden from higher levels */
/******************************* Host Requests ********************************/
/* FIXME: use handlers and keep smx_host_t hidden from higher levels */
*
* Return the current time in millisecond.
*/
*
* Return the current time in millisecond.
*/
-XBT_PUBLIC(double) surf_get_clock(void);
+XBT_INLINE XBT_PUBLIC(double) surf_get_clock(void);
/** \brief Exit SURF
* \ingroup SURF_simulation
/** \brief Exit SURF
* \ingroup SURF_simulation
/** \ingroup msg_easier_life
* \brief A clock (in second).
*/
/** \ingroup msg_easier_life
* \brief A clock (in second).
*/
-double MSG_get_clock(void)
+XBT_INLINE double MSG_get_clock(void)
{
return SIMIX_get_clock();
}
{
return SIMIX_get_clock();
}
-double surf_get_clock(void)
+XBT_INLINE double surf_get_clock(void)