Ignore:
Timestamp:
Jun 5, 2012 10:41:17 AM (10 years ago)
Author:
bennylp
Message:

Re #1527: added debugging facility to the timer heap. By enabling PJ_TIMER_DEBUG, application can use pj_timer_heap_dump() or pjsip_endpt_dump() to dump the timer entries along with the source location where it is scheduled from. The macro will also enable dumping the timer heap entries when the SIP endpoint is being destroyed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r4141 r4154  
    472472#ifndef PJ_POOL_DEBUG 
    473473#  define PJ_POOL_DEBUG             0 
     474#endif 
     475 
     476 
     477/** 
     478 * Enable timer heap debugging facility. When this is enabled, application 
     479 * can call pj_timer_heap_dump() to show the contents of the timer heap 
     480 * along with the source location where the timer entries were scheduled. 
     481 * See https://trac.pjsip.org/repos/ticket/1527 for more info. 
     482 * 
     483 * Default: 0 
     484 */ 
     485#ifndef PJ_TIMER_DEBUG 
     486#  define PJ_TIMER_DEBUG            0 
    474487#endif 
    475488 
Note: See TracChangeset for help on using the changeset viewer.