tests/perftest/freemem.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

long get_free_physical_memory ()
 Determine how much free physical memory there is.
long get_total_physical_memory ()
 Determine how much physical memory there is.


Function Documentation

long get_free_physical_memory (  ) 

Determine how much free physical memory there is.

Returns the amount of free physical memory, in bytes, or -1 if this isn't known.

Definition at line 56 of file freemem.cc.

long get_total_physical_memory (  ) 

Determine how much physical memory there is.

Returns the amount of physical memory, in bytes, or -1 if this isn't known.

Definition at line 123 of file freemem.cc.

Referenced by PerfTestLogger::open().


Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.