AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitDownload.cpp
/**
 * webkit_download_get_elapsed_time:
 * @download: a #WebKitDownload
 *
 * Gets the elapsed time in seconds, including any fractional part.
 * If the download finished, had an error or was cancelled this is
 * the time between its start and the event.
 *
 * Returns: seconds since the download was started
 */


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

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