1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

merge thread_measure_stack_usage declarations

This commit is contained in:
Ludwig Ortmann 2013-10-24 12:42:04 +02:00
parent 50e1ed3261
commit 089a15c110
2 changed files with 1 additions and 9 deletions

View File

@ -41,14 +41,5 @@ void sched_task_exit(void);
*/
void thread_print_stack(void);
/**
* @brief Calculates stack usage if thread was created using CREATE_STACKTEST
*
* @param[in] stack The thread's stack
*
* @return The current usage (overwritten addresses) of the thread's stack
*/
int thread_measure_stack_usage(char *stack);
/** @} */
#endif /* KERNEL_INTERNAL_H_ */

View File

@ -81,6 +81,7 @@ int thread_getlastpid(void);
* Only works if the thread was created with the flag CREATE_STACKTEST.
*
* @param stack The stack you want to measure. try active_thread->stack_start.
* @return The current usage (overwritten addresses) of the thread's stack
*/
int thread_measure_stack_usage(char *stack);