7#ifndef __STACK_SIZE_ANALYZER_H
8#define __STACK_SIZE_ANALYZER_H
36#ifdef CONFIG_THREAD_RUNTIME_STATS
37 unsigned int utilization;
38#ifdef CONFIG_SCHED_THREAD_USAGE
void thread_analyzer_run(thread_analyzer_cb cb)
Run the thread analyzer and provide information to the callback.
void(* thread_analyzer_cb)(struct thread_analyzer_info *info)
Thread analyzer stack size callback function.
Definition thread_analyzer.h:50
void thread_analyzer_print(void)
Run the thread analyzer and print stack size statistics.
Definition thread_analyzer.h:26
const char * name
The name of the thread or stringified address of the thread handle if name is not set.
Definition thread_analyzer.h:30
size_t stack_used
Stack size in used.
Definition thread_analyzer.h:34
size_t stack_size
The total size of the stack.
Definition thread_analyzer.h:32