Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#1211 closed enhancement (fixed)

Add pjlib API pj_gettickcount() that returns a monotonically increasing timestamp

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-1.10
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Add a new pjlib API pj_gettickcount() that returns a monotonically
increasing timestamp with msec granularity. This is useful for components that use scheduled timers so that they are not effected by changes to the system time of the host.

Change History (2)

comment:1 Changed 14 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

(In [3456]) 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().

comment:2 Changed 14 years ago by bennylp

(In [3458]) Re #1211 (new pj_gettickcount() API): fixed compilation error on Linux

Note: See TracTickets for help on using tickets.