diff options
author | Jim Jagielski <jim@apache.org> | 2005-02-02 20:32:18 +0100 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2005-02-02 20:32:18 +0100 |
commit | 9e6b47277246f41fcb2db44be9bdc4adf0779baa (patch) | |
tree | da884dde833e05e9c64b0f8115be747f9a0d2e2b /server/scoreboard.c | |
parent | Update Japanese translation. (diff) | |
download | apache2-9e6b47277246f41fcb2db44be9bdc4adf0779baa.tar.xz apache2-9e6b47277246f41fcb2db44be9bdc4adf0779baa.zip |
Keep track of time taken to process requests again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149550 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/scoreboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/scoreboard.c b/server/scoreboard.c index 465cb3d886..325a1fcb89 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -448,15 +448,15 @@ AP_DECLARE(int) ap_update_child_status(ap_sb_handle_t *sbh, int status, status, r); } -void ap_time_process_request(int child_num, int thread_num, int status) +void ap_time_process_request(ap_sb_handle_t *sbh, int status) { worker_score *ws; - if (child_num < 0) { + if (sbh->child_num < 0) { return; } - ws = &ap_scoreboard_image->servers[child_num][thread_num]; + ws = &ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num]; if (status == START_PREQUEST) { ws->start_time = apr_time_now(); |