Changeset 21 for pjproject/main


Ignore:
Timestamp:
Nov 7, 2005 6:53:58 PM (19 years ago)
Author:
bennylp
Message:

Add ioqueue name in report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjlib/src/pjlib-test/udp_echo_srv_sync.c

    r19 r21  
    9191    pj_time_val last_print; 
    9292    unsigned count; 
     93    const char *ioqueue_name; 
    9394 
    9495    last_received = 0; 
     
    9697    avg_bw = highest_bw = 0; 
    9798    count = 0; 
     99 
     100    ioqueue_name = pj_ioqueue_name(); 
    98101 
    99102    for (;;) { 
     
    122125        count++; 
    123126 
    124         PJ_LOG(3,("", "Synchronous UDP (%d threads): %u KB/s (avg=%u KB/s) %s",  
     127        PJ_LOG(3,("", "%s UDP (%d threads): %u KB/s (avg=%u KB/s) %s",  
     128                  ioqueue_name, 
    125129                  ECHO_SERVER_MAX_THREADS,  
    126130                  (unsigned)(bw / 1000), 
Note: See TracChangeset for help on using the changeset viewer.