summaryrefslogtreecommitdiffstats
path: root/server/mpm/prefork/scoreboard.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-06-08 02:28:35 +0200
committerRyan Bloom <rbb@apache.org>2000-06-08 02:28:35 +0200
commitcc8eeb2d84fe13e7a32326ba349d761459405c84 (patch)
tree4109d249166a2535333ce01846dc2165a3314dbe /server/mpm/prefork/scoreboard.h
parentFix Win32 bug when pathname length exactly equals MAX_PATH. (diff)
downloadapache2-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.h9
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