10 Apr
2004
10 Apr
'04
8:13 p.m.
On Sat, 2004-04-10 at 10:52, Bob Jamison wrote:
Glib has a portable time function. Here is an example from libnr/testnr.cpp:
static double get_time (void) { GTimeVal tv; g_get_current_time (&tv); return tv.tv_sec + 1e-6 * tv.tv_usec; }
For computing elapsed times, GTimer is much preferable.
-mental