Russell Bryant
f7e7161607
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 20:50:36 +00:00
..
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-29 13:21:47 +00:00
2006-08-21 02:11:39 +00:00
2006-08-29 20:50:36 +00:00
2006-08-29 20:50:36 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-29 17:31:15 +00:00
2006-08-21 02:11:39 +00:00
2006-08-24 15:44:24 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:46:47 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2006-08-21 02:11:39 +00:00
2005-11-29 18:24:39 +00:00
2005-11-29 18:24:39 +00:00
2006-08-26 23:58:47 +00:00
2005-11-29 18:24:39 +00:00