mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Add trace macros.
This commit is contained in:
parent
b8b70528f4
commit
71ef3153ea
2 changed files with 175 additions and 2 deletions
|
@ -866,6 +866,19 @@ void vTaskStartTrace( signed portCHAR * pcBuffer, unsigned portLONG ulBufferSize
|
|||
*/
|
||||
unsigned portLONG ulTaskEndTrace( void );
|
||||
|
||||
/**
|
||||
* task.h
|
||||
* <PRE>unsigned portBASE_TYPE uxGetStackHighWaterMark( void );</PRE>
|
||||
*
|
||||
* INCLUDE_uxGetStackHighWaterMark must be set to 1 in FreeRTOSConfig.h for
|
||||
* this function to be available.
|
||||
*
|
||||
* Returns the high water mark for the stack of the calling task. That is,
|
||||
* the minimum free stack space there has been (in bytes) since the task
|
||||
* started. The small the returned number the closer the task has come
|
||||
* to overflowing its stack.
|
||||
*/
|
||||
unsigned portBASE_TYPE uxGetStackHighWaterMark( void );
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* SCHEDULER INTERNALS AVAILABLE FOR PORTING PURPOSES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue