mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
More stats improvements
Broke out the stats collection into a bunch of new Bifs in stats.bif. Scripts that use stats collection functions have also been updated. More work to do.
This commit is contained in:
parent
6aeeb94d76
commit
6d836b7956
27 changed files with 479 additions and 353 deletions
|
@ -1655,9 +1655,9 @@ extern "C" void out_of_memory(const char* where)
|
|||
abort();
|
||||
}
|
||||
|
||||
void get_memory_usage(unsigned int* total, unsigned int* malloced)
|
||||
void get_memory_usage(uint64* total, uint64* malloced)
|
||||
{
|
||||
unsigned int ret_total;
|
||||
uint64 ret_total;
|
||||
|
||||
#ifdef HAVE_MALLINFO
|
||||
struct mallinfo mi = mallinfo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue