Home
last modified time | relevance | path

Searched refs:last_tick (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/lwip/lwip2.0.0/apps/tftp/
A Dtftp_client.c29 uint16_t last_tick; member
73 if ((pstate->tick - pstate->last_tick) > (TFTP_TIMEOUT_MSECS / TFTP_TIMER_MSECS)) { in tftp_tmr()
103 pstate->last_tick = pstate->tick; in recv()
267 pstate->last_tick = 0; in tftp_client_get()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/iperf/
A Diperf_task.c834 uint32_t t1, t2, curr_t, t1_ms, last_tick, current_tick, last_sleep, current_sleep; in iperf_udp_run_client() local
995 last_tick = t1_ms; in iperf_udp_run_client()
1000 udp_h->tv_sec = htonl( (last_tick + last_sleep) / 1000 ); in iperf_udp_run_client()
1001 udp_h->tv_usec = htonl( last_tick + last_sleep ); in iperf_udp_run_client()
1016 current_sleep = pkt_delay - (current_tick - last_tick - last_sleep) + 1; in iperf_udp_run_client()
1018 current_sleep = pkt_delay - (current_tick - last_tick - last_sleep); in iperf_udp_run_client()
1027 last_tick = current_tick; in iperf_udp_run_client()

Completed in 7 milliseconds