Ignore:
Timestamp:
Mar 1, 2006 10:26:51 PM (18 years ago)
Author:
bennylp
Message:

Added logging in pjsip-perf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsip-perf/pjsip_perf.h

    r257 r259  
    3636    PJ_DECL_LIST_MEMBER(struct batch); 
    3737 
    38     unsigned     rate; 
    39     unsigned     started; 
    40     unsigned     success; 
    41     unsigned     failed; 
    42     pj_time_val  start_time; 
    43     pj_time_val  spawned_time; 
    44     pj_time_val  end_time; 
     38    unsigned     rate;          /**< How many tasks to perform              */ 
     39 
     40    unsigned     started;       /**< # of tasks started.                    */ 
     41    unsigned     success;       /**< # of tasks completed successfully.     */ 
     42    unsigned     failed;        /**< # of failed tasks.                     */ 
     43 
     44    pj_time_val  start_time;    /**< Start time of the tests.               */ 
     45    pj_time_val  spawned_time;  /**< Time when all tasks has been started.  */ 
     46    pj_time_val  end_time;      /**< Time when all tasks has completed.     */ 
    4547}; 
    4648 
     
    113115    pj_mutex_t      *mutex; 
    114116 
     117    /* Misc: */ 
     118    int              log_level; 
     119    int              app_log_level; 
     120    char            *log_file; 
     121 
    115122    /* Network: */ 
    116123    int              local_port; 
     
    147154    session         *session; 
    148155    pj_timer_entry   timer; 
     156 
     157    /* Counters: */ 
     158    pj_uint32_t      tx_req; 
     159    pj_uint32_t      tx_res; 
     160    pj_uint32_t      rx_req; 
     161    pj_uint32_t      rx_res; 
    149162}; 
    150163 
Note: See TracChangeset for help on using the changeset viewer.