diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-08-04 18:31:38 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-08-04 18:31:38 +0000 |
commit | 7db78dad9f319921599379c46fa5f5549fe70f0c (patch) | |
tree | 5b90c22c2fe55df7a05231fe2268165b69f84a01 /time | |
parent | 1c1ec981deb465e72688ccb92b5b37c2fd98314b (diff) | |
download | apr-7db78dad9f319921599379c46fa5f5549fe70f0c.tar.gz |
Docs are always good, especially when it's this obscure.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'time')
-rw-r--r-- | time/win32/time.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/time/win32/time.c b/time/win32/time.c index 42b531b26..94d92602e 100644 --- a/time/win32/time.c +++ b/time/win32/time.c @@ -294,6 +294,9 @@ static apr_status_t clock_restore(void *unsetres) 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, |