Ignore:
Timestamp:
Mar 16, 2011 9:22:24 AM (13 years ago)
Author:
ming
Message:

Fixed #1211: Add pjlib API pj_gettickcount() that returns a monotonically increasing timestamp

  • Changed the timer_heap to use pj_gettickcount().
  • Changed ioqueue to use pj_gettickcount().
File:
1 edited

Legend:

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

    r3423 r3456  
    11701170 
    11711171/** 
     1172 * Get monotonic time since some unspecified starting point. 
     1173 * 
     1174 * @param tv    Variable to store the result. 
     1175 * 
     1176 * @return PJ_SUCCESS if successful. 
     1177 */ 
     1178PJ_DECL(pj_status_t) pj_gettickcount(pj_time_val *tv); 
     1179 
     1180/** 
    11721181 * Acquire high resolution timer value. The time value are stored 
    11731182 * in cycles. 
Note: See TracChangeset for help on using the changeset viewer.