Lines Matching +full:1000 +full:u

77 const uint32_t TIME_US[] = { 60 * 1000 * 1000, 1000 * 1000, 1000, 0 };
79 const uint32_t KBPS[] = { 1000, 0 };
81 const uint32_t K[] = { 1000 * 1000, 1000, 0 };
99 if (*divisor != 0U) { in print_number()
101 dec = (value % *divisor) * 100U / *divisor; in print_number()
102 shell_fprintf(sh, SHELL_NORMAL, "%u.%s%u %s", radix, in print_number()
105 shell_fprintf(sh, SHELL_NORMAL, "%u %s", value, *unit); in print_number()
125 if (*divisor != 0U) { in print_number_64()
127 dec = (value % *divisor) * 100U / *divisor; in print_number_64()
128 shell_fprintf(sh, SHELL_NORMAL, "%llu.%s%u %s", radix, in print_number_64()
150 } while (cmp != 0 && *++divisor != 0U); in parse_number()
152 return (*divisor == 0U) ? dec : dec * *divisor; in parse_number()
329 if (result->time_in_us != 0U) { in udp_session_cb()
332 (result->time_in_us * 1000ULL)); in udp_session_cb()
334 rate_in_kbps = 0U; in udp_session_cb()
343 shell_fprintf(sh, SHELL_NORMAL, " received packets:\t%u\n", in udp_session_cb()
345 shell_fprintf(sh, SHELL_NORMAL, " nb packets lost:\t%u\n", in udp_session_cb()
347 shell_fprintf(sh, SHELL_NORMAL, " nb packets outorder:\t%u\n", in udp_session_cb()
470 "UDP server started on port %u\n", param.port); in cmd_udp_download()
486 if (results->time_in_us != 0U) { in shell_udp_upload_print_stats()
489 (results->time_in_us * 1000U)); in shell_udp_upload_print_stats()
491 rate_in_kbps = 0U; in shell_udp_upload_print_stats()
494 if (results->client_time_in_us != 0U) { in shell_udp_upload_print_stats()
499 (results->client_time_in_us * 1000U)); in shell_udp_upload_print_stats()
501 client_rate_in_kbps = 0U; in shell_udp_upload_print_stats()
519 shell_fprintf(sh, SHELL_NORMAL, "Num packets:\t\t%u\t(%u)\n", in shell_udp_upload_print_stats()
524 "Num packets out order:\t%u\n", in shell_udp_upload_print_stats()
526 shell_fprintf(sh, SHELL_NORMAL, "Num packets lost:\t%u\n", in shell_udp_upload_print_stats()
550 if (results->client_time_in_us != 0U) { in shell_tcp_upload_print_stats()
555 (results->client_time_in_us * 1000U)); in shell_tcp_upload_print_stats()
557 client_rate_in_kbps = 0U; in shell_tcp_upload_print_stats()
564 shell_fprintf(sh, SHELL_NORMAL, "Num packets:\t%u\n", in shell_tcp_upload_print_stats()
567 "Num errors:\t%u (retry or fail)\n", in shell_tcp_upload_print_stats()
581 if (results->client_time_in_us != 0U) { in shell_tcp_upload_print_periodic()
586 (results->client_time_in_us * 1000U)); in shell_tcp_upload_print_periodic()
588 client_rate_in_kbps = 0U; in shell_tcp_upload_print_periodic()
595 shell_fprintf(sh, SHELL_NORMAL, "Packets: %6u | ", in shell_tcp_upload_print_periodic()
598 "Errors: %6u | ", in shell_tcp_upload_print_periodic()
718 shell_fprintf(sh, SHELL_NORMAL, "Packet size:\t%u bytes\n", in execute_upload()
720 shell_fprintf(sh, SHELL_NORMAL, "Rate:\t\t%u kbps\n", in execute_upload()
742 if (packet_duration > 1000U) { in execute_upload()
743 shell_fprintf(sh, SHELL_NORMAL, "Packet duration %u ms\n", in execute_upload()
744 (unsigned int)(packet_duration / 1000U)); in execute_upload()
746 shell_fprintf(sh, SHELL_NORMAL, "Packet duration %u us\n", in execute_upload()
1048 (parse_number(argv[start + 5], K, K_UNIT) + 999) / 1000; in shell_cmd_upload()
1234 (parse_number(argv[start + 4], K, K_UNIT) + 999) / 1000; in shell_cmd_upload2()
1307 if (result->time_in_us != 0U) { in tcp_session_cb()
1310 (result->time_in_us * 1000ULL)); in tcp_session_cb()
1312 rate_in_kbps = 0U; in tcp_session_cb()
1388 "TCP server started on port %u\n", param.port); in cmd_tcp_download()