Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

memory_info.h File Reference


Detailed Description

Get current memory status.

#include "int_sizes.h"

Go to the source code of this file.

Functions

int memory_info_get (UINT64_T *avail, UINT64_T *total)
 Get current memory status.


Function Documentation

int memory_info_get UINT64_T *  avail,
UINT64_T *  total
 

Get current memory status.

Uses various techniques on different processors to get the physical amount of memory installed, and the amount currently available.

Parameters:
avail Will be filled in with the memory currently available, measured in bytes.
total Will be filled in with the memory physically installed, measured in bytes.
Returns:
One on success, zero on failure.


Generated on Thu Jul 23 09:26:51 2009 for cctools by  doxygen 1.3.9.1