docs: Move the GTimer SECTION

Move the contents to the struct docs.

Helps: #3037
This commit is contained in:
Matthias Clasen 2023-09-25 08:42:49 -04:00 committed by Philip Withnall
parent a47bdb2638
commit 57219c14a0

View File

@ -56,22 +56,15 @@
#include "gtestutils.h" #include "gtestutils.h"
#include "gmain.h" #include "gmain.h"
/**
* SECTION:timers
* @title: Timers
* @short_description: keep track of elapsed time
*
* #GTimer records a start time, and counts microseconds elapsed since
* that time. This is done somewhat differently on different platforms,
* and can be tricky to get exactly right, so #GTimer provides a
* portable/convenient interface.
**/
/** /**
* GTimer: * GTimer:
* *
* Opaque datatype that records a start time. * `GTimer` records a start time, and counts microseconds elapsed since
**/ * that time.
*
* This is done somewhat differently on different platforms, and can be
* tricky to get exactly right, so `GTimer` provides a portable/convenient interface.
*/
struct _GTimer struct _GTimer
{ {
guint64 start; guint64 start;