Changeset 4154 for pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
- Timestamp:
- Jun 5, 2012 10:41:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r3999 r4154 607 607 608 608 /* Destroy timer heap */ 609 #if PJ_TIMER_DEBUG 610 pj_timer_heap_dump(endpt->timer_heap); 611 #endif 609 612 pj_timer_heap_destroy(endpt->timer_heap); 610 613 … … 769 772 * Schedule timer. 770 773 */ 774 #if PJ_TIMER_DEBUG 775 PJ_DEF(pj_status_t) pjsip_endpt_schedule_timer_dbg(pjsip_endpoint *endpt, 776 pj_timer_entry *entry, 777 const pj_time_val *delay, 778 const char *src_file, 779 int src_line) 780 { 781 PJ_LOG(6, (THIS_FILE, "pjsip_endpt_schedule_timer(entry=%p, delay=%u.%u)", 782 entry, delay->sec, delay->msec)); 783 return pj_timer_heap_schedule_dbg(endpt->timer_heap, entry, delay, 784 src_file, src_line); 785 } 786 #else 771 787 PJ_DEF(pj_status_t) pjsip_endpt_schedule_timer( pjsip_endpoint *endpt, 772 788 pj_timer_entry *entry, … … 777 793 return pj_timer_heap_schedule( endpt->timer_heap, entry, delay ); 778 794 } 795 #endif 779 796 780 797 /* … … 1194 1211 1195 1212 /* Timer. */ 1213 #if PJ_TIMER_DEBUG 1214 pj_timer_heap_dump(endpt->timer_heap); 1215 #else 1196 1216 PJ_LOG(3,(THIS_FILE, " Timer heap has %u entries", 1197 1217 pj_timer_heap_count(endpt->timer_heap))); 1218 #endif 1198 1219 1199 1220 /* Unlock mutex. */
Note: See TracChangeset
for help on using the changeset viewer.