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:
Seth Hall 2016-01-07 16:20:24 -05:00
parent 6aeeb94d76
commit 6d836b7956
27 changed files with 479 additions and 353 deletions

View file

@ -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();