meminfo.h File Reference
#include "lib/testsupport/testsupport.h"
#include <stddef.h>

Go to the source code of this file.


void tor_log_mallinfo (int severity)
 MOCK_DECL (int, get_total_system_memory,(size_t *mem_out))

Detailed Description

Header for meminfo.c.

Definition in file meminfo.h.

Function Documentation

◆ tor_log_mallinfo()

void tor_log_mallinfo ( int  severity)

Call the platform malloc info function, and dump the results to the log at level severity. If no such function exists, do nothing.

Definition at line 44 of file meminfo.c.

References LD_MM, and tor_log().

Referenced by dumpmemusage().