mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-06-05 11:59:05 -04:00
Add description for vTaskList (#206)
Describe each column which vTaskList print: task name, task status, task priority, task stack unused watermark lewel, task number Co-authored-by: David Chalco <59750547+dachalco@users.noreply.github.com>
This commit is contained in:
parent
2a604f4a28
commit
4fde4a8d0a
|
@ -1795,8 +1795,10 @@ UBaseType_t uxTaskGetSystemState( TaskStatus_t * const pxTaskStatusArray,
|
||||||
* demo applications. Do not consider it to be part of the scheduler.
|
* demo applications. Do not consider it to be part of the scheduler.
|
||||||
*
|
*
|
||||||
* vTaskList() calls uxTaskGetSystemState(), then formats part of the
|
* vTaskList() calls uxTaskGetSystemState(), then formats part of the
|
||||||
* uxTaskGetSystemState() output into a human readable table that displays task
|
* uxTaskGetSystemState() output into a human readable table that displays task:
|
||||||
* names, states and stack usage.
|
* names, states, priority, stack usage and task number.
|
||||||
|
* Stack usage specified as the number of unused StackType_t words stack can hold
|
||||||
|
* on top of stack - not the number of bytes.
|
||||||
*
|
*
|
||||||
* vTaskList() has a dependency on the sprintf() C library function that might
|
* vTaskList() has a dependency on the sprintf() C library function that might
|
||||||
* bloat the code size, use a lot of stack, and provide different results on
|
* bloat the code size, use a lot of stack, and provide different results on
|
||||||
|
|
4
tasks.c
4
tasks.c
|
@ -4434,7 +4434,9 @@ static void prvResetNextTaskUnblockTime( void )
|
||||||
*
|
*
|
||||||
* vTaskList() calls uxTaskGetSystemState(), then formats part of the
|
* vTaskList() calls uxTaskGetSystemState(), then formats part of the
|
||||||
* uxTaskGetSystemState() output into a human readable table that
|
* uxTaskGetSystemState() output into a human readable table that
|
||||||
* displays task names, states and stack usage.
|
* displays task: names, states, priority, stack usage and task number.
|
||||||
|
* Stack usage specified as the number of unused StackType_t words stack can hold
|
||||||
|
* on top of stack - not the number of bytes.
|
||||||
*
|
*
|
||||||
* vTaskList() has a dependency on the sprintf() C library function that
|
* vTaskList() has a dependency on the sprintf() C library function that
|
||||||
* might bloat the code size, use a lot of stack, and provide different
|
* might bloat the code size, use a lot of stack, and provide different
|
||||||
|
|
Loading…
Reference in a new issue