mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
stat: add mem stat for jemalloc (#1218)
1, add opts arg for mallctl,dumpinfo 2, collect jemalloc.mem info 3, add debug_console cmd: jmem Co-authored-by: fx <fx@f.x>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
extern size_t malloc_used_memory(void);
|
||||
extern size_t malloc_memory_block(void);
|
||||
extern void memory_info_dump(void);
|
||||
extern void memory_info_dump(const char *opts);
|
||||
extern size_t mallctl_int64(const char* name, size_t* newval);
|
||||
extern int mallctl_opt(const char* name, int* newval);
|
||||
extern bool mallctl_bool(const char* name, bool* newval);
|
||||
|
||||
Reference in New Issue
Block a user