#include <MemoryStats.h++>


Public Member Functions | |
| MemoryStats () | |
| Construct a new MemoryStats object. | |
| ~MemoryStats () throw () | |
| Destructor. | |
| uint_t | getPhysicalMemoryTotal () const throw () |
| Get the total amount of physical memory, in bytes. | |
| uint_t | getPhysicalMemoryFree () const throw () |
| Get the amount of free physical memory, in bytes. | |
| uint_t | getPhysicalMemoryUsed () const throw () |
| Get the amount of used physical memory, in bytes. | |
| uint_t | getVirtualMemoryTotal () const throw () |
| Get the total amount of virtual memory, in bytes. | |
| uint_t | getVirtualMemoryFree () const throw () |
| Get the amount of free virtual memory, in bytes. | |
| uint_t | getVirtualMemoryUsed () const throw () |
| Get the amount of used virtual memory, in bytes. | |
| bool | collect () throw () |
| Collect (update) the stats represented by this object. | |
| void | reset () throw () |
| Reset the stats object. | |
These statistics include the total amount of physical and virtual memory and the amount of each that is currently in use.
| MemoryStats | ( | ) |
Construct a new MemoryStats object.
| ~MemoryStats | ( | ) | throw () |
Destructor.
| bool collect | ( | ) | throw () [virtual] |
Collect (update) the stats represented by this object.
Implements SystemStats.
| uint_t getPhysicalMemoryFree | ( | ) | const throw () [inline] |
Get the amount of free physical memory, in bytes.
| uint_t getPhysicalMemoryTotal | ( | ) | const throw () [inline] |
Get the total amount of physical memory, in bytes.
| uint_t getPhysicalMemoryUsed | ( | ) | const throw () [inline] |
Get the amount of used physical memory, in bytes.
| uint_t getVirtualMemoryFree | ( | ) | const throw () [inline] |
Get the amount of free virtual memory, in bytes.
| uint_t getVirtualMemoryTotal | ( | ) | const throw () [inline] |
Get the total amount of virtual memory, in bytes.
On Mac OS X, there is no fixed-size swap partition; the amount of virtual memory is limited only by disk space on the root partition, so this value is always 0.
| uint_t getVirtualMemoryUsed | ( | ) | const throw () [inline] |
Get the amount of used virtual memory, in bytes.
| void reset | ( | ) | throw () [virtual] |
1.5.9