Home
last modified time | relevance | path

Searched refs:req_stat (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dh2load_http1_session.cc81 auto req_stat = client->get_req_stat(session->stream_resp_counter_); in htp_msg_completecb() local
83 assert(req_stat); in htp_msg_completecb()
86 if (req_stat->data_offset >= config->data_length) { in htp_msg_completecb()
201 auto req_stat = client_->get_req_stat(stream_req_counter_); in submit_request() local
203 client_->record_request_time(req_stat); in submit_request()
250 auto req_stat = client_->get_req_stat(stream_req_counter_); in on_write() local
251 if (!req_stat) { in on_write()
255 if (req_stat->data_offset < config->data_length) { in on_write()
256 auto req_stat = client_->get_req_stat(stream_req_counter_); in on_write() local
265 req_stat->data_offset)) == -1 && in on_write()
[all …]
Dh2load_http2_session.cc117 auto req_stat = client->get_req_stat(frame->hd.stream_id); in before_frame_send_callback() local
118 assert(req_stat); in before_frame_send_callback()
119 client->record_request_time(req_stat); in before_frame_send_callback()
131 auto req_stat = client->get_req_stat(stream_id); in file_read_callback() local
132 assert(req_stat); in file_read_callback()
134 while ((nread = pread(config->data_fd, buf, length, req_stat->data_offset)) == in file_read_callback()
143 req_stat->data_offset += nread; in file_read_callback()
145 if (req_stat->data_offset == config->data_length) { in file_read_callback()
150 if (req_stat->data_offset > config->data_length || nread == 0) { in file_read_callback()
Dh2load.cc188 Stream::Stream() : req_stat{}, status_success(-1) {} in Stream()
793 auto &req_stat = p.second.req_stat; in process_timedout_streams() local
794 if (!req_stat.completed) { in process_timedout_streams()
795 req_stat.stream_close_time = std::chrono::steady_clock::now(); in process_timedout_streams()
954 stream.req_stat.status = status; in on_header()
982 stream.req_stat.status = status; in on_status_code()
1002 auto req_stat = get_req_stat(stream_id); in on_stream_close() local
1003 if (!req_stat) { in on_stream_close()
1007 req_stat->stream_close_time = std::chrono::steady_clock::now(); in on_stream_close()
1009 req_stat->completed = true; in on_stream_close()
[all …]
Dh2load.h314 void sample_req_stat(RequestStat *req_stat);
325 RequestStat req_stat; member
465 void record_request_time(RequestStat *req_stat);
Dh2load_http3_session.cc113 auto req_stat = client_->get_req_stat(stream_id); in submit_request_internal() local
114 assert(req_stat); in submit_request_internal()
115 client_->record_request_time(req_stat); in submit_request_internal()