Changeset 592 for pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
- Timestamp:
- Jul 8, 2006 7:46:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
r590 r592 41 41 #define THIS_FILE "test_udp" 42 42 #define PORT 51233 43 #define LOOP 10043 #define LOOP 2 44 44 ///#define LOOP 2 45 45 #define BUF_MIN_SIZE 32 … … 818 818 int bufsize, sock_count; 819 819 820 goto pass1;820 //goto pass1; 821 821 822 822 PJ_LOG(3, (THIS_FILE, "...compliance test (%s)", pj_ioqueue_name())); … … 837 837 } 838 838 839 //return 0; 840 839 841 PJ_LOG(4, (THIS_FILE, "...benchmarking different buffer size:")); 840 842 PJ_LOG(4, (THIS_FILE, "... note: buf=bytes sent, fds=# of fds, " … … 848 850 PJ_LOG(3, (THIS_FILE, "...=====================================")); 849 851 850 goto pass2;852 //goto pass2; 851 853 852 854 for (bufsize=BUF_MIN_SIZE; bufsize <= BUF_MAX_SIZE; bufsize *= 2) { … … 860 862 sock_count *= 2) 861 863 { 862 PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count));864 //PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count)); 863 865 if ((status=bench_test(bufsize, sock_count-2)) != 0) 864 866 return status;
Note: See TracChangeset
for help on using the changeset viewer.