From 8b4fd991922f5e33a6d52cc7b0059e1cf5cc59ab Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 31 Jul 2017 23:23:33 -0400 Subject: Report UART receive queue length, so we can tune it. --- projects/hsm/mgmt-task.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'projects/hsm/mgmt-task.c') diff --git a/projects/hsm/mgmt-task.c b/projects/hsm/mgmt-task.c index a1ae7e6..ac1a737 100644 --- a/projects/hsm/mgmt-task.c +++ b/projects/hsm/mgmt-task.c @@ -63,8 +63,12 @@ static int cmd_task_show(struct cli_def *cli, const char *command, char *argv[], } cli_print(cli, " "); - cli_print(cli, "request queue current length: %d", request_queue_len()); - cli_print(cli, "request queue maximum length: %d", request_queue_max()); + cli_print(cli, "RPC request queue current length: %u", request_queue_len()); + cli_print(cli, "RPC request queue maximum length: %u", request_queue_max()); + + extern size_t uart_rx_max; + cli_print(cli, " "); + cli_print(cli, "UART receive queue maximum length: %u", uart_rx_max); return CLI_OK; } -- cgit v1.2.3