Data Structures | |
struct | mbed_stats_heap_t |
struct mbed_stats_heap_t definition More... | |
struct | mbed_stats_stack_t |
struct mbed_stats_stack_t definition More... | |
struct | mbed_stats_cpu_t |
struct mbed_stats_cpu_t definition More... | |
struct | mbed_stats_thread_t |
struct mbed_stats_thread_t definition More... | |
struct | mbed_stats_sys_t |
struct mbed_stats_sys_t definition More... | |
Macros | |
#define | MBED_MAX_MEM_REGIONS 4 |
Maximum memory regions reported by mbed-os memory statistics. More... | |
Enumerations |
Functions | |
void | mbed_stats_heap_get (mbed_stats_heap_t *stats) |
Fill the passed in heap stat structure with the heap statistics. More... | |
void | mbed_stats_stack_get (mbed_stats_stack_t *stats) |
Fill the passed in structure with stack statistics accumulated for all threads. More... | |
size_t | mbed_stats_stack_get_each (mbed_stats_stack_t *stats, size_t count) |
Fill the passed array of structures with the stack statistics for each available thread. More... | |
void | mbed_stats_cpu_get (mbed_stats_cpu_t *stats) |
Fill the passed in CPU stat structure with CPU statistics. More... | |
size_t | mbed_stats_thread_get_each (mbed_stats_thread_t *stats, size_t count) |
Fill the passed array of stat structures with the thread statistics for each available thread. More... | |
void | mbed_stats_sys_get (mbed_stats_sys_t *stats) |
Fill the passed in system stat structure with system statistics. More... | |
#define MBED_MAX_MEM_REGIONS 4 |
Maximum memory regions reported by mbed-os memory statistics.
Definition at line 55 of file mbed_stats.h.
enum mbed_compiler_id_t |
enum mbed_compiler_id_t definition
Enumerator | |
---|---|
ARM |
ARM. |
GCC_ARM |
GNU ARM. |
IAR |
IAR. |
Definition at line 149 of file mbed_stats.h.
void mbed_stats_cpu_get | ( | mbed_stats_cpu_t * | stats | ) |
Fill the passed in CPU stat structure with CPU statistics.
stats | A pointer to the mbed_stats_cpu_t structure to fill |
void mbed_stats_heap_get | ( | mbed_stats_heap_t * | stats | ) |
Fill the passed in heap stat structure with the heap statistics.
stats | A pointer to the mbed_stats_heap_t structure to fill |
void mbed_stats_stack_get | ( | mbed_stats_stack_t * | stats | ) |
Fill the passed in structure with stack statistics accumulated for all threads.
The thread_id will be 0 and stack_cnt will represent number of threads.
stats | A pointer to the mbed_stats_stack_t structure to fill |
size_t mbed_stats_stack_get_each | ( | mbed_stats_stack_t * | stats, |
size_t | count | ||
) |
Fill the passed array of structures with the stack statistics for each available thread.
stats | A pointer to an array of mbed_stats_stack_t structures to fill |
count | The number of mbed_stats_stack_t structures in the provided array |
void mbed_stats_sys_get | ( | mbed_stats_sys_t * | stats | ) |
Fill the passed in system stat structure with system statistics.
stats | A pointer to the mbed_stats_sys_t structure to fill |
size_t mbed_stats_thread_get_each | ( | mbed_stats_thread_t * | stats, |
size_t | count | ||
) |
Fill the passed array of stat structures with the thread statistics for each available thread.
stats | A pointer to an array of mbed_stats_thread_t structures to fill |
count | The number of mbed_stats_thread_t structures in the provided array |