Home
last modified time | relevance | path

Searched refs:STATS_TIMER (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/net/sockets/echo_server/src/
Dudp.c209 if ((total_received / STATS_TIMER) < 1024) { in print_stats()
211 total_received / STATS_TIMER); in print_stats()
214 total_received / 1024 / STATS_TIMER); in print_stats()
220 k_work_reschedule(&data->udp.stats_print, K_SECONDS(STATS_TIMER)); in print_stats()
234 K_SECONDS(STATS_TIMER)); in start_udp()
246 K_SECONDS(STATS_TIMER)); in start_udp()
Dtcp.c365 if ((total_received / STATS_TIMER) < 1024) { in print_stats()
367 total_received / STATS_TIMER); in print_stats()
370 total_received / 1024 / STATS_TIMER); in print_stats()
376 k_work_reschedule(&data->tcp.stats_print, K_SECONDS(STATS_TIMER)); in print_stats()
407 k_work_reschedule(&conf.ipv6.tcp.stats_print, K_SECONDS(STATS_TIMER)); in start_tcp()
422 k_work_reschedule(&conf.ipv4.tcp.stats_print, K_SECONDS(STATS_TIMER)); in start_tcp()
Dcommon.h24 #define STATS_TIMER 60 /* How often to print statistics (in seconds) */ macro