diff options
author | Paul Selkirk <paul@psgd.org> | 2017-07-31 23:23:33 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-07-31 23:23:33 -0400 |
commit | 8b4fd991922f5e33a6d52cc7b0059e1cf5cc59ab (patch) | |
tree | b1d3906e0d24bcb902f473c51da0bb81d3b3b478 /projects | |
parent | e4302fb3f0f9c9b60d79a83a69d02ca23fb663ff (diff) |
Report UART receive queue length, so we can tune it.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/hsm/mgmt-task.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; } |