Merge branch 'wip/hadess/timer-docs' into 'main'

gtestutils: Mention the unit used for the test timer

See merge request GNOME/glib!2378
This commit is contained in:
Philip Withnall 2022-02-11 12:46:15 +00:00
commit 6fd53df562

View File

@ -1923,9 +1923,10 @@ g_test_timer_start (void)
/**
* g_test_timer_elapsed:
*
* Get the time since the last start of the timer with g_test_timer_start().
* Get the number of seconds since the last start of the timer with
* g_test_timer_start().
*
* Returns: the time since the last start of the timer, as a double
* Returns: the time since the last start of the timer in seconds, as a double
*
* Since: 2.16
*/