Source/WebKit/gtk/webkit/webkitdownload.cpp
gdouble webkit_download_get_elapsed_time(WebKitDownload* download)
{
    g_return_val_if_fail(WEBKIT_IS_DOWNLOAD(download), 0.0);

    WebKitDownloadPrivate* priv = download->priv;
    if (!priv->timer)
        return 0;

    return g_timer_elapsed(priv->timer, NULL);
}
/**
 * webkit_download_get_elapsed_time:
 * @download: a #WebKitDownload
 *
 * Elapsed time for the download in seconds, including any fractional
 * part. If the download is finished, had an error or was cancelled
 * this is the time between its start and the event.
 *
 * Returns: seconds since the download was started, as a #gdouble
 *
 * Since: 1.1.2
 */


Elapsed time for the download in seconds, including any fractional
part. If the download is finished, had an error or was cancelled
this is the time between its start and the event.

seconds since the download was started, as a #gdouble


Elapsed time for the download in seconds including any fractional part . If the download is finished had an error or was cancelled this is the time between its start and the event . seconds since the download was started as a #gdouble
gdouble webkit_download_get_elapsed_time(WebKitDownload* download)
{
    g_return_val_if_fail(WEBKIT_IS_DOWNLOAD(download), 0.0);
    WebKitDownloadPrivate* priv = download->priv;
    if (!priv->timer)
        return 0;
    return g_timer_elapsed(priv->timer, NULL);
}
gdouble webkit_download_get_elapsed_time ( WebKitDownload * download ) { g_return_val_if_fail ( WEBKIT_IS_DOWNLOAD ( download ) , 0.0 ) ; WebKitDownloadPrivate * priv = download -> priv ; if ( ! priv -> timer ) return 0 ; return g_timer_elapsed ( priv -> timer , NULL ) ; }
webkit_download_get_elapsed_time:
 @download: a #WebKitDownload
webkit_download_get_elapsed_time : @download : a #WebKitDownload