]> 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)
committerBenjamin Keith Ford <bford@digium.com>
Tue, 24 Sep 2019 15:42:08 +0000 (10:42 -0500)
commit5ea667e03acfb6ab03010b756ad45e9b678a67d0
tree7b97b3dc4023bbb8c912b3b84dbc92888a66e156
parent2bb633409857371dacd01ee25d4326d8220d10ea
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