Skip to content

Commit e90fff3

Browse files
committed
stats - Added doxygen documentation to stats functions
1 parent 9b630b3 commit e90fff3

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

platform/mbed_stats.h

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ typedef struct {
3535
} mbed_stats_heap_t;
3636

3737
/**
38-
* Fill the passed in structure with heap stats.
38+
* Fill the passed in heap stat structure with heap stats.
39+
*
40+
* @param stats A pointer to the mbed_stats_heap_t structure to fill
3941
*/
4042
void mbed_stats_heap_get(mbed_stats_heap_t *stats);
4143

@@ -47,13 +49,20 @@ typedef struct {
4749
} mbed_stats_stack_t;
4850

4951
/**
50-
* Fill the passed in structure with stack stats.
52+
* Fill the passed in structure with stack stats.
53+
*
54+
* @param stats A pointer to the mbed_stats_stack_t structure to fill
5155
*/
5256
void mbed_stats_stack_get(mbed_stats_stack_t *stats);
5357

5458
/**
55-
* Fill the passed array of stat structures with the stack stats
56-
* for each available stack.
59+
* Fill the passed array of stat structures with the stack stats
60+
* for each available stack.
61+
*
62+
* @param stats A pointer to an array of mbed_stats_stack_t structures to fill
63+
* @param count The number of mbed_stats_stack_t structures in the provided array
64+
* @return The number of mbed_stats_stack_t structures that have been filled,
65+
* this is equal to the number of stacks on the system.
5766
*/
5867
size_t mbed_stats_stack_get_each(mbed_stats_stack_t *stats, size_t count);
5968

0 commit comments

Comments
 (0)