]> git.ipfire.org Git - thirdparty/asterisk.git/commit
taskprocessor.c: Add CLI commands to reset taskprocessor stats.
authorBen Ford <bford@digium.com>
Tue, 24 Sep 2019 14:40:35 +0000 (09:40 -0500)
committerBen Ford <bford@digium.com>
Tue, 24 Sep 2019 15:41:25 +0000 (10:41 -0500)
commit3069153bdf77fe02014b2b19814b85c7e04fdbd7
tree0172353d3b42cdadbc75a46d9f5966fc9d26f160
parent16790d6029d906c0ed35864249a35f37aa5d4ff1
taskprocessor.c: Add CLI commands to reset taskprocessor stats.

Added two new CLI commands to reset stats for taskprocessors. You can
reset stats for a single, specific taskprocessor ('core reset
taskprocessor <taskprocessor>'), or you can reset all taskprocessors
('core reset taskprocessors'). These commands will reset the counter for
the number of tasks processed as well as the max queue size.

Change-Id: Iaf17fc4ae29396ab0c6ac92408fc7bdc2f12362d
doc/CHANGES-staging/taskprocessor-reset-stats.txt [new file with mode: 0644]
main/taskprocessor.c