Function gnunet_sys::GNUNET_TIME_absolute_get_duration[][src]

pub unsafe extern "C" fn GNUNET_TIME_absolute_get_duration(
    whence: GNUNET_TIME_Absolute
) -> GNUNET_TIME_Relative

Get the duration of an operation as the difference of the current time and the given start time “hence”.

@param whence some absolute time, typically in the past @return 0 if hence > now, otherwise now-hence.