timing: Improve performance for most timing implementations.
authorJoshua Colp <jcolp@digium.com>
Fri, 7 Feb 2014 20:01:45 +0000 (20:01 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 7 Feb 2014 20:01:45 +0000 (20:01 +0000)
commite8e2f91bbac77ca50dddc4a496512475990a8764
treefdbb590820a386771e01916e9dbd7809bd187232
parent5fd63e2d0beeae4e118a7567716b586899166090
timing: Improve performance for most timing implementations.

This change allows timing implementation data to be stored directly
on the timer itself thus removing the requirement for many
implementations to do a container lookup for the same information.

This means that API calls into timing implementations can directly
access the information they need instead of having to find it.

Review: https://reviewboard.asterisk.org/r/3175/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/timing.h
main/timing.c
res/res_timing_dahdi.c
res/res_timing_kqueue.c
res/res_timing_pthread.c
res/res_timing_timerfd.c