wrowe 2002/08/04 11:31:38
Modified: time/win32 time.c
Log:
Docs are always good, especially when it's this obscure.
Revision Changes Path
1.37 +3 -0 apr/time/win32/time.c
Index: time.c
===================================================================
RCS file: /home/cvs/apr/time/win32/time.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- time.c 4 Aug 2002 18:29:33 -0000 1.36
+++ time.c 4 Aug 2002 18:31:38 -0000 1.37
@@ -294,6 +294,9 @@
APR_DECLARE(void) apr_time_clock_hires(apr_pool_t *p)
{
ULONG newRes;
+ /* Timer resolution is stated in 100ns units. Note that TRUE requests
the
+ * new clock resolution, FALSE above releases the request.
+ */
if (SetTimerResolution(10000, TRUE, &newRes) == 0 /* STATUS_SUCCESS */) {
/* register the cleanup... */
apr_pool_cleanup_register(p, (void*)10000, clock_restore,