|
Wireshark 4.7.3
The Wireshark network protocol analyzer
|
Describes a named memory usage tracker, providing callbacks to query current consumption and release cached allocations. More...
#include <app_mem_usage.h>
Public Attributes | |
| const char * | name |
| size_t(* | fetch )(void) |
| void(* | gc )(void) |
Describes a named memory usage tracker, providing callbacks to query current consumption and release cached allocations.
| size_t(* ws_mem_usage_t::fetch) (void) |
Callback that returns the number of bytes currently consumed by this subsystem.
| void(* ws_mem_usage_t::gc) (void) |
Callback invoked to release non-essential cached memory held by this subsystem.
| const char* ws_mem_usage_t::name |
Short human-readable name identifying this memory subsystem (e.g. "epan", "wmem").