[Asterisk-Dev] sched.c::schedule function can be a bottleneck and
is optimised backwards
Russell Bryant
russell at digium.com
Fri Oct 28 20:09:40 MST 2005
On Oct 28, 2005, at 3:24 PM, Steve Kann wrote:
> It might be instructive to write someting to dump the scheduler
> queue, and then cook up a few "average" example cases, and dump the
> queue, and see what it looks like.
This is actually already there. All you have to do is define
DUMP_SCHEDULER in sched.c. Then, the contents of the queue will be
dumped when you call ast_sched_add or ast_sched_del.
--
Russell Bryant
More information about the asterisk-dev
mailing list