Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: use bullets

...

In the past, if internal timing were desired for an Asterisk system, then the only source acceptable was from DAHDI. Beginning with Asterisk 1.6.1, a new timing API was introduced which allows for various timing modules to be used.
Asterisk includes the following timing modules:

  • res_timing_pthread.so
  • res_timing_dahdi.so
  • res_timing_timerfd.so

...

  • as of Asterisk 1.6.2
  • res_timing_kqueue.so

...

  • as of Asterisk 11

res_timing_pthread uses the POSIX pthreads library in order to provide timing. Since the code uses a commonly-implemented set of functions, res_timing_pthread is portable to many types of systems. In fact, this is the only timing source currently usable on a non-Linux system. Due to the fact that a single userspace thread is used to provide timing for all users of the timer, res_timing_pthread is also the least efficient of the timing sources and has been known to lose its effectiveness in a heavily-loaded environment.

...