mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-14 19:03:20 +00:00
Add initial stack/heap reporting for mdash
This commit is contained in:
1 parent
38c326644f
commit
2bddebc6f0
8 files changed
+61
-11
No files matched your search
+17
@@ -4414,6 +4414,23 @@ void mg_ota_poll(struct mg_mgr *);
|
||||
|
||||
|
||||
|
||||
// Memory usage in bytes. Override in mongoose_config.h for the target.
|
||||
#ifndef MG_HEALTH_STACK_USED
|
||||
#define MG_HEALTH_STACK_USED 0
|
||||
#endif
|
||||
|
||||
#ifndef MG_HEALTH_STACK_TOTAL
|
||||
#define MG_HEALTH_STACK_TOTAL 0
|
||||
#endif
|
||||
|
||||
#ifndef MG_HEALTH_HEAP_USED
|
||||
#define MG_HEALTH_HEAP_USED 0
|
||||
#endif
|
||||
|
||||
#ifndef MG_HEALTH_HEAP_TOTAL
|
||||
#define MG_HEALTH_HEAP_TOTAL 0
|
||||
#endif
|
||||
|
||||
#ifndef MG_HEALTH_MAGIC
|
||||
#define MG_HEALTH_MAGIC {'M', 'G', 'H', '3'} // '3' is the layout version
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user