Lines Matching refs:results

479 					 struct zperf_results *results)  in shell_udp_upload_print_stats()  argument
486 if (results->time_in_us != 0U) { in shell_udp_upload_print_stats()
488 ((results->total_len * 8 * USEC_PER_SEC) / in shell_udp_upload_print_stats()
489 (results->time_in_us * 1000U)); in shell_udp_upload_print_stats()
494 if (results->client_time_in_us != 0U) { in shell_udp_upload_print_stats()
496 (((uint64_t)results->nb_packets_sent * in shell_udp_upload_print_stats()
497 (uint64_t)results->packet_size * (uint64_t)8 * in shell_udp_upload_print_stats()
499 (results->client_time_in_us * 1000U)); in shell_udp_upload_print_stats()
512 print_number_64(sh, results->time_in_us, TIME_US, in shell_udp_upload_print_stats()
515 print_number_64(sh, results->client_time_in_us, TIME_US, in shell_udp_upload_print_stats()
520 results->nb_packets_rcvd, in shell_udp_upload_print_stats()
521 results->nb_packets_sent); in shell_udp_upload_print_stats()
525 results->nb_packets_outorder); in shell_udp_upload_print_stats()
527 results->nb_packets_lost); in shell_udp_upload_print_stats()
530 print_number(sh, results->jitter_in_us, TIME_US, in shell_udp_upload_print_stats()
543 struct zperf_results *results) in shell_tcp_upload_print_stats() argument
550 if (results->client_time_in_us != 0U) { in shell_tcp_upload_print_stats()
552 (((uint64_t)results->nb_packets_sent * in shell_tcp_upload_print_stats()
553 (uint64_t)results->packet_size * (uint64_t)8 * in shell_tcp_upload_print_stats()
555 (results->client_time_in_us * 1000U)); in shell_tcp_upload_print_stats()
561 print_number_64(sh, results->client_time_in_us, in shell_tcp_upload_print_stats()
565 results->nb_packets_sent); in shell_tcp_upload_print_stats()
568 results->nb_packets_errors); in shell_tcp_upload_print_stats()
576 struct zperf_results *results) in shell_tcp_upload_print_periodic() argument
581 if (results->client_time_in_us != 0U) { in shell_tcp_upload_print_periodic()
583 (((uint64_t)results->nb_packets_sent * in shell_tcp_upload_print_periodic()
584 (uint64_t)results->packet_size * (uint64_t)8 * in shell_tcp_upload_print_periodic()
586 (results->client_time_in_us * 1000U)); in shell_tcp_upload_print_periodic()
592 print_number_64(sh, results->client_time_in_us, in shell_tcp_upload_print_periodic()
596 results->nb_packets_sent); in shell_tcp_upload_print_periodic()
599 results->nb_packets_errors); in shell_tcp_upload_print_periodic()
711 struct zperf_results results = { 0 }; in execute_upload() local
759 ret = zperf_udp_upload(param, &results); in execute_upload()
766 shell_udp_upload_print_stats(sh, &results); in execute_upload()
785 ret = zperf_tcp_upload(param, &results); in execute_upload()
792 shell_tcp_upload_print_stats(sh, &results); in execute_upload()