Method

NumCosmoMathTimerelapsed

Declaration [src]

gdouble
ncm_timer_elapsed (
  NcmTimer* nt
)

Description [src]

If nt timer has been started but not stopped, obtains the time since the timer was started. If timer has been stopped, obtains the elapsed time between the time it was started and the time it was stopped. The return value is the number of seconds elapsed, including any fractional part. This function applies g_timer_elapsed() from Glib.

Return value

Type: gdouble

Seconds elapsed as a floating point value, including any fractional part.