Searched refs:timenow_ms (Results 1 – 8 of 8) sorted by relevance
196 uint64_t timestart_ms = 0, timenow_ms = 0, timeselect_ms = 0; in aos_tcp_read() local206 timenow_ms = timestart_ms; in aos_tcp_read()210 timenow_ms = timenow.tv_sec * 1000 + timenow.tv_usec / 1000; in aos_tcp_read()212 if (timenow_ms - timestart_ms >= timenow_ms || in aos_tcp_read()213 timeout_ms - (timenow_ms - timestart_ms) > timeout_ms) { in aos_tcp_read()217 timeselect_ms = timeout_ms - (timenow_ms - timestart_ms); in aos_tcp_read()247 } while (((timenow_ms - timestart_ms) < timeout_ms) && (recv_bytes < len)); in aos_tcp_read()
189 uint64_t timenow_ms = core_log_get_timestamp(diag_handle->sysdep); in _diag_core_mqtt_process_handler() local205 if (diag_handle->mqtt_process.last_check_time > timenow_ms) { in _diag_core_mqtt_process_handler()206 diag_handle->mqtt_process.last_check_time = timenow_ms; in _diag_core_mqtt_process_handler()224 if (node->start_time > timenow_ms) { in _diag_core_mqtt_process_handler()225 node->start_time = timenow_ms; in _diag_core_mqtt_process_handler()269 diag_handle->mqtt_process.last_check_time = timenow_ms; in _diag_core_mqtt_process_handler()301 uint64_t timenow_ms = core_log_get_timestamp(diag_handle->sysdep); in _diag_mqtt_conn_report_desc_append() local314 uint64_t time_elapsed = timenow_ms - running_state->report_start_time; in _diag_mqtt_conn_report_desc_append()338 uint64_t timenow_ms = core_log_get_timestamp(diag_handle->sysdep); in _diag_mqtt_hb_report_desc_append() local351 uint64_t time_elapsed = timenow_ms - running_state->report_start_time; in _diag_mqtt_hb_report_desc_append()[all …]
696 uint64_t timestart_ms = 0, timenow_ms = 0, timeselect_ms = 0; in _core_sysdep_network_tcp_recv() local706 timenow_ms = timestart_ms; in _core_sysdep_network_tcp_recv()712 if (timenow_ms - timestart_ms >= timenow_ms || in _core_sysdep_network_tcp_recv()717 timeselect_ms = timeout_ms - (timenow_ms - timestart_ms); in _core_sysdep_network_tcp_recv()890 uint64_t timestart_ms = 0, timenow_ms = 0, timeselect_ms = 0; in _core_sysdep_network_tcp_send() local900 timenow_ms = timestart_ms; in _core_sysdep_network_tcp_send()906 if (timenow_ms - timestart_ms >= timenow_ms || in _core_sysdep_network_tcp_send()911 timeselect_ms = timeout_ms - (timenow_ms - timestart_ms); in _core_sysdep_network_tcp_send()1000 uint64_t timestart_ms = 0, timenow_ms = 0; in _core_sysdep_network_mbedtls_send() local1010 timenow_ms = timestart_ms; in _core_sysdep_network_mbedtls_send()[all …]
172 uint64_t timenow_ms = http_handle->sysdep->core_sysdep_time(); in _core_http_recv_auth() local175 if (timenow_ms >= http_handle->sysdep->core_sysdep_time()) { in _core_http_recv_auth()176 timenow_ms = http_handle->sysdep->core_sysdep_time(); in _core_http_recv_auth()178 if (http_handle->sysdep->core_sysdep_time() - timenow_ms >= http_handle->auth_timeout_ms) { in _core_http_recv_auth()458 uint64_t timenow_ms = 0; in aiot_http_recv() local479 timenow_ms = http_handle->sysdep->core_sysdep_time(); in aiot_http_recv()481 if (timenow_ms >= http_handle->sysdep->core_sysdep_time()) { in aiot_http_recv()482 timenow_ms = http_handle->sysdep->core_sysdep_time(); in aiot_http_recv()484 if (http_handle->sysdep->core_sysdep_time() - timenow_ms >= http_handle->recv_timeout_ms) { in aiot_http_recv()
445 uint64_t timenow_ms = 0; in aiot_dynregmq_recv() local463 timenow_ms = dynregmq_handle->sysdep->core_sysdep_time(); in aiot_dynregmq_recv()465 if (timenow_ms >= dynregmq_handle->sysdep->core_sysdep_time()) { in aiot_dynregmq_recv()466 timenow_ms = dynregmq_handle->sysdep->core_sysdep_time(); in aiot_dynregmq_recv()468 … if (dynregmq_handle->sysdep->core_sysdep_time() - timenow_ms >= dynregmq_handle->timeout_ms) { in aiot_dynregmq_recv()
443 uint64_t timenow_ms = 0; in aiot_dynreg_recv() local463 timenow_ms = dynreg_handle->sysdep->core_sysdep_time(); in aiot_dynreg_recv()465 if (timenow_ms >= dynreg_handle->sysdep->core_sysdep_time()) { in aiot_dynreg_recv()466 timenow_ms = dynreg_handle->sysdep->core_sysdep_time(); in aiot_dynreg_recv()468 if (dynreg_handle->sysdep->core_sysdep_time() - timenow_ms >= dynreg_handle->timeout_ms) { in aiot_dynreg_recv()
437 uint64_t timenow_ms = 0; in _core_http_recv_header() local445 timenow_ms = http_handle->sysdep->core_sysdep_time(); in _core_http_recv_header()447 if (timenow_ms > http_handle->sysdep->core_sysdep_time()) { in _core_http_recv_header()448 timenow_ms = http_handle->sysdep->core_sysdep_time(); in _core_http_recv_header()450 if (http_handle->sysdep->core_sysdep_time() - timenow_ms >= http_handle->recv_timeout_ms) { in _core_http_recv_header()
627 uint64_t timenow_ms = 0; in aiot_bootstrap_recv() local648 timenow_ms = bootstrap_handle->sysdep->core_sysdep_time(); in aiot_bootstrap_recv()650 if (timenow_ms >= bootstrap_handle->sysdep->core_sysdep_time()) { in aiot_bootstrap_recv()651 timenow_ms = bootstrap_handle->sysdep->core_sysdep_time(); in aiot_bootstrap_recv()653 … if (bootstrap_handle->sysdep->core_sysdep_time() - timenow_ms >= bootstrap_handle->timeout_ms) { in aiot_bootstrap_recv()
Completed in 25 milliseconds