Ignore:
Timestamp:
Jul 8, 2006 7:46:43 PM (17 years ago)
Author:
bennylp
Message:

Attempted to fix epoll for Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c

    r590 r592  
    4141#define THIS_FILE           "test_udp" 
    4242#define PORT                51233 
    43 #define LOOP                100 
     43#define LOOP                2 
    4444///#define LOOP             2 
    4545#define BUF_MIN_SIZE        32 
     
    818818    int bufsize, sock_count; 
    819819 
    820     goto pass1; 
     820    //goto pass1; 
    821821 
    822822    PJ_LOG(3, (THIS_FILE, "...compliance test (%s)", pj_ioqueue_name())); 
     
    837837    } 
    838838     
     839    //return 0; 
     840 
    839841    PJ_LOG(4, (THIS_FILE, "...benchmarking different buffer size:")); 
    840842    PJ_LOG(4, (THIS_FILE, "... note: buf=bytes sent, fds=# of fds, " 
     
    848850    PJ_LOG(3, (THIS_FILE, "...=====================================")); 
    849851 
    850     goto pass2; 
     852    //goto pass2; 
    851853 
    852854    for (bufsize=BUF_MIN_SIZE; bufsize <= BUF_MAX_SIZE; bufsize *= 2) { 
     
    860862         sock_count *= 2)  
    861863    { 
    862         PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count)); 
     864        //PJ_LOG(3,(THIS_FILE, "...testing with %d fds", sock_count)); 
    863865        if ((status=bench_test(bufsize, sock_count-2)) != 0) 
    864866            return status; 
Note: See TracChangeset for help on using the changeset viewer.