Searched refs:detlat (Results 1 – 17 of 17) sorted by relevance
268 wsi->detlat.req_size = len; in lws_write()269 wsi->detlat.acc_size = m; in lws_write()270 wsi->detlat.type = LDLT_WRITE; in lws_write()271 if (wsi->detlat.earliest_write_req_pre_write) in lws_write()272 wsi->detlat.latencies[LAT_DUR_PROXY_PROXY_REQ_TO_WRITE] = in lws_write()273 us - wsi->detlat.earliest_write_req_pre_write; in lws_write()275 wsi->detlat.latencies[LAT_DUR_PROXY_PROXY_REQ_TO_WRITE] = 0; in lws_write()276 wsi->detlat.latencies[LAT_DUR_USERCB] = lws_now_usecs() - us; in lws_write()277 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_write()
48 wsi->detlat.earliest_write_req_pre_write = in lws_callback_as_writeable()49 wsi->detlat.earliest_write_req; in lws_callback_as_writeable()50 wsi->detlat.earliest_write_req = 0; in lws_callback_as_writeable()51 wsi->detlat.latencies[LAT_DUR_PROXY_RX_TO_ONWARD_TX] = in lws_callback_as_writeable()52 ((uint32_t)us - wsi->detlat.earliest_write_req_pre_write); in lws_callback_as_writeable()
74 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_client_connect_via_info()111 wsi->detlat.tsi = n; in lws_client_connect_via_info()
521 if (!wsi->detlat.earliest_write_req) in lws_callback_on_writable()522 wsi->detlat.earliest_write_req = lws_now_usecs(); in lws_callback_on_writable()
80 new_wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_create_new_server_wsi()
677 lws_detlat_t detlat; member
187 wsi->detlat.earliest_write_req = in lws_client_connect_4_established()188 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_client_connect_4_established()453 wsi->detlat.type = LDLT_NAME_RESOLUTION;454 wsi->detlat.latencies[LAT_DUR_PROXY_CLIENT_REQ_TO_WRITE] =456 wsi->detlat.earliest_write_req_pre_write;457 wsi->detlat.latencies[LAT_DUR_USERCB] = 0;458 lws_det_lat_cb(wsi->context, &wsi->detlat);459 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs();660 wsi->detlat.earliest_write_req =661 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs();[all …]
239 wsi->detlat.type = LDLT_TLS_NEG_CLIENT; in lws_client_socket_service()240 wsi->detlat.latencies[LAT_DUR_PROXY_CLIENT_REQ_TO_WRITE] = in lws_client_socket_service()242 wsi->detlat.earliest_write_req_pre_write; in lws_client_socket_service()243 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_client_socket_service()244 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_client_socket_service()299 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_client_socket_service()
118 wsi->detlat.req_size = len; in lws_ssl_capable_read()119 wsi->detlat.acc_size = n; in lws_ssl_capable_read()120 wsi->detlat.type = LDLT_READ; in lws_ssl_capable_read()121 wsi->detlat.latencies[LAT_DUR_PROXY_RX_TO_ONWARD_TX] = in lws_ssl_capable_read()123 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_ssl_capable_read()124 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_ssl_capable_read()
326 wsi->detlat.type = LDLT_TLS_NEG_SERVER; in lws_server_socket_service_ssl()327 wsi->detlat.latencies[LAT_DUR_PROXY_RX_TO_ONWARD_TX] = in lws_server_socket_service_ssl()329 wsi->detlat.earliest_write_req_pre_write; in lws_server_socket_service_ssl()330 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_server_socket_service_ssl()331 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_server_socket_service_ssl()
278 wsi->detlat.req_size = len; in lws_ssl_capable_read()279 wsi->detlat.acc_size = n; in lws_ssl_capable_read()280 wsi->detlat.type = LDLT_READ; in lws_ssl_capable_read()281 wsi->detlat.latencies[LAT_DUR_PROXY_RX_TO_ONWARD_TX] = in lws_ssl_capable_read()283 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_ssl_capable_read()284 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_ssl_capable_read()
264 wsi->detlat.type = LDLT_TLS_NEG_CLIENT; in lws_mqtt_client_socket_service()265 wsi->detlat.latencies[LAT_DUR_PROXY_CLIENT_REQ_TO_WRITE] = in lws_mqtt_client_socket_service()267 wsi->detlat.earliest_write_req_pre_write; in lws_mqtt_client_socket_service()268 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_mqtt_client_socket_service()269 lws_det_lat_cb(wsi->context, &wsi->detlat); in lws_mqtt_client_socket_service()
218 wsi->detlat.acc_size = wsi->detlat.req_size = si - 23; in lws_ss_deserialize_tx_payload()219 wsi->detlat.latencies[LAT_DUR_PROXY_CLIENT_REQ_TO_WRITE] = in lws_ss_deserialize_tx_payload()221 wsi->detlat.latencies[LAT_DUR_PROXY_CLIENT_WRITE_TO_PROXY_RX] = in lws_ss_deserialize_tx_payload()223 wsi->detlat.latencies[LAT_DUR_PROXY_RX_TO_ONWARD_TX] = in lws_ss_deserialize_tx_payload()226 wsi->detlat.latencies[LAT_DUR_USERCB] = 0; in lws_ss_deserialize_tx_payload()
429 wsi->detlat.acc_size = in callback_ss_proxy()430 wsi->detlat.req_size = si - 19; in callback_ss_proxy()432 wsi->detlat.latencies[ in callback_ss_proxy()
255 wsi->detlat.earliest_write_req = 0; in lws_client_ws_upgrade()256 wsi->detlat.earliest_write_req_pre_write = 0; in lws_client_ws_upgrade()
99 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_finalize_write_http_header()455 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_return_http_status()
2399 wsi->detlat.earliest_write_req_pre_write = lws_now_usecs(); in lws_h2_client_handshake()