Changeset 590 for pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
- Timestamp:
- Jul 6, 2006 8:43:07 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
r582 r590 818 818 int bufsize, sock_count; 819 819 820 goto pass1; 821 820 822 PJ_LOG(3, (THIS_FILE, "...compliance test (%s)", pj_ioqueue_name())); 821 823 if ((status=compliance_test()) != 0) { … … 839 841 "elapsed=in timer ticks")); 840 842 843 pass1: 841 844 PJ_LOG(3, (THIS_FILE, "...Benchmarking poll times for %s:", pj_ioqueue_name())); 842 845 PJ_LOG(3, (THIS_FILE, "...=====================================")); … … 845 848 PJ_LOG(3, (THIS_FILE, "...=====================================")); 846 849 850 goto pass2; 851 847 852 for (bufsize=BUF_MIN_SIZE; bufsize <= BUF_MAX_SIZE; bufsize *= 2) { 848 853 if ((status=bench_test(bufsize, SOCK_INACTIVE_MIN)) != 0) 849 854 return status; 850 855 } 856 pass2: 851 857 bufsize = 512; 852 858 for (sock_count=SOCK_INACTIVE_MIN+2; … … 854 860 sock_count *= 2) 855 861 { 856 //PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count));862 PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count)); 857 863 if ((status=bench_test(bufsize, sock_count-2)) != 0) 858 864 return status;
Note: See TracChangeset
for help on using the changeset viewer.