mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58: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
|
@ -502,8 +502,7 @@ inline int safe_vsnprintf(char* str, size_t size, const char* format, va_list al
|
|||
|
||||
// Returns total memory allocations and (if available) amount actually
|
||||
// handed out by malloc.
|
||||
extern void get_memory_usage(unsigned int* total,
|
||||
unsigned int* malloced);
|
||||
extern void get_memory_usage(uint64* total, uint64* malloced);
|
||||
|
||||
// Class to be used as a third argument for STL maps to be able to use
|
||||
// char*'s as keys. Otherwise the pointer values will be compared instead of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue