Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/gtk-doc/html/glib/ drwxr-xr-x |
Viewing file: Select action/file-type:
Synopsis#include <glib.h> GTimer; GTimer* g_timer_new (void); void g_timer_start (GTimer *timer); void g_timer_stop (GTimer *timer); void g_timer_continue (GTimer *timer); gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds); void g_timer_reset (GTimer *timer); void g_timer_destroy (GTimer *timer); DescriptionGTimer 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. Detailsg_timer_new ()GTimer* g_timer_new (void);
Creates a new timer, and starts timing (i.e.
g_timer_start ()void g_timer_start (GTimer *timer);
Marks a start time, so that future calls to
g_timer_stop ()void g_timer_stop (GTimer *timer);
Marks an end time, so calls to
g_timer_continue ()void g_timer_continue (GTimer *timer);
Resumes a timer that has previously been stopped with
Since 2.4 g_timer_elapsed ()gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds);
If
g_timer_reset ()void g_timer_reset (GTimer *timer);
This function is useless; it's fine to call
|
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.003 ]-- |