mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: platform/mbed_stats.h
- Revision:
- 178:79309dc6340a
- Parent:
- 170:19eb464bc2be
diff -r d650f5d4c87a -r 79309dc6340a platform/mbed_stats.h --- a/platform/mbed_stats.h Wed Nov 08 13:50:44 2017 +0000 +++ b/platform/mbed_stats.h Thu Nov 23 11:57:25 2017 +0000 @@ -1,6 +1,10 @@ /** \addtogroup platform */ /** @{*/ +/** + * \defgroup platform_stats stats functions + * @{ + */ /* mbed Microcontroller Library * Copyright (c) 2016-2016 ARM Limited * @@ -25,6 +29,9 @@ extern "C" { #endif +/** + * struct mbed_stats_heap_t definition + */ typedef struct { uint32_t current_size; /**< Bytes allocated currently. */ uint32_t max_size; /**< Max bytes allocated at a given time. */ @@ -41,6 +48,9 @@ */ void mbed_stats_heap_get(mbed_stats_heap_t *stats); +/** + * struct mbed_stats_stack_t definition + */ typedef struct { uint32_t thread_id; /**< Identifier for thread that owns the stack or 0 if multiple threads. */ uint32_t max_size; /**< Maximum number of bytes used on the stack. */ @@ -73,3 +83,5 @@ #endif /** @}*/ + +/** @}*/