GLib.test_timer_elapsed

function test_timer_elapsed(): Number(gdouble) {
    // Gjs wrapper for g_test_timer_elapsed()
}
  

Get the time since the last start of the timer with GLib.test_timer_start.

Since 2.16

Returns

the time since the last start of the timer, as a double