diff options
author | Ryan Bloom <rbb@apache.org> | 2000-06-08 02:28:35 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-06-08 02:28:35 +0200 |
commit | cc8eeb2d84fe13e7a32326ba349d761459405c84 (patch) | |
tree | 4109d249166a2535333ce01846dc2165a3314dbe /server/mpm/prefork/scoreboard.h | |
parent | Fix Win32 bug when pathname length exactly equals MAX_PATH. (diff) | |
download | apache2-cc8eeb2d84fe13e7a32326ba349d761459405c84.tar.xz apache2-cc8eeb2d84fe13e7a32326ba349d761459405c84.zip |
Remove all occurances of gettimeofday. Replace it with ap_now which
provides the same function but works cross-paltform.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85463 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/prefork/scoreboard.h')
-rw-r--r-- | server/mpm/prefork/scoreboard.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/mpm/prefork/scoreboard.h b/server/mpm/prefork/scoreboard.h index fe4c2589f1..e687fb6c0c 100644 --- a/server/mpm/prefork/scoreboard.h +++ b/server/mpm/prefork/scoreboard.h @@ -151,13 +151,8 @@ typedef struct { unsigned long my_bytes_served; unsigned long conn_bytes; unsigned short conn_count; -#if !defined(HAVE_GETTIMEOFDAY) - clock_t start_time; - clock_t stop_time; -#else - struct timeval start_time; - struct timeval stop_time; -#endif + ap_time_t start_time; + ap_time_t stop_time; #ifdef HAVE_TIMES struct tms times; #endif |