| 654 | } |
| 655 | |
| 656 | AP_DECLARE(void) ap_set_time_process_request(ap_sb_handle_t* const sbh, |
| 657 | const apr_time_t timebeg,const apr_time_t timeend) |
| 658 | { |
| 659 | worker_score *ws; |
| 660 | if (!sbh || sbh->child_num < 0) |
| 661 | return; |
| 662 | |
| 663 | ws = &ap_scoreboard_image->servers[sbh->child_num][sbh->thread_num]; |
| 664 | |
| 665 | ws->start_time = timebeg; |
| 666 | ws->stop_time = ws->last_used = timeend; |
| 667 | |
| 668 | if (ap_extended_status) |
| 669 | ws->duration += timeend - timebeg; |
| 670 | } |
| 671 | |
| 672 | AP_DECLARE(int) ap_update_global_status(void) |
| 673 | { |