mirror of https://github.com/ARMmbed/mbed-os.git
stats - Added doxygen documentation to stats functions
parent
9b630b3e0d
commit
e90fff3a60
|
@ -35,7 +35,9 @@ typedef struct {
|
||||||
} mbed_stats_heap_t;
|
} mbed_stats_heap_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fill the passed in structure with heap stats.
|
* Fill the passed in heap stat structure with heap stats.
|
||||||
|
*
|
||||||
|
* @param stats A pointer to the mbed_stats_heap_t structure to fill
|
||||||
*/
|
*/
|
||||||
void mbed_stats_heap_get(mbed_stats_heap_t *stats);
|
void mbed_stats_heap_get(mbed_stats_heap_t *stats);
|
||||||
|
|
||||||
|
@ -47,13 +49,20 @@ typedef struct {
|
||||||
} mbed_stats_stack_t;
|
} mbed_stats_stack_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fill the passed in structure with stack stats.
|
* Fill the passed in structure with stack stats.
|
||||||
|
*
|
||||||
|
* @param stats A pointer to the mbed_stats_stack_t structure to fill
|
||||||
*/
|
*/
|
||||||
void mbed_stats_stack_get(mbed_stats_stack_t *stats);
|
void mbed_stats_stack_get(mbed_stats_stack_t *stats);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fill the passed array of stat structures with the stack stats
|
* Fill the passed array of stat structures with the stack stats
|
||||||
* for each available stack.
|
* for each available stack.
|
||||||
|
*
|
||||||
|
* @param stats A pointer to an array of mbed_stats_stack_t structures to fill
|
||||||
|
* @param count The number of mbed_stats_stack_t structures in the provided array
|
||||||
|
* @return The number of mbed_stats_stack_t structures that have been filled,
|
||||||
|
* this is equal to the number of stacks on the system.
|
||||||
*/
|
*/
|
||||||
size_t mbed_stats_stack_get_each(mbed_stats_stack_t *stats, size_t count);
|
size_t mbed_stats_stack_get_each(mbed_stats_stack_t *stats, size_t count);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue