#include <libMem.h>
unsigned long mcpdft::LibMem::get_mem_total |
( |
| ) |
|
Get total memory using C++ function.
void mcpdft::LibMem::query_system_memory |
( |
const struct sysinfo * |
info | ) |
|
Query memory information from linux.
char mcpdft::LibMem::_f[20-2 *sizeof(long)-sizeof(int)] |
|
private |
unsigned long mcpdft::LibMem::bufferram_ |
|
private |
unsigned long mcpdft::LibMem::freehigh_ |
|
private |
Available high memory size.
unsigned long mcpdft::LibMem::freeram_ |
|
private |
unsigned long mcpdft::LibMem::freeswap_ |
|
private |
unsigned long mcpdft::LibMem::loads_[3] |
|
private |
1, 5 and 15 minutes' load averages
unsigned int mcpdft::LibMem::mem_unit_ |
|
private |
Memory unit size in bytes.
unsigned short mcpdft::LibMem::num_procs_ |
|
private |
Number of ongoing processes.
unsigned long mcpdft::LibMem::sharedram_ |
|
private |
unsigned long mcpdft::LibMem::totalhigh_ |
|
private |
unsigned long mcpdft::LibMem::totalram_ |
|
private |
Total usable main memory size.
unsigned long mcpdft::LibMem::totalswap_ |
|
private |
long mcpdft::LibMem::uptime_ |
|
private |
Uptime run since boot in seconds.
The documentation for this class was generated from the following files:
- /home/travis/build/SinaMostafanejad/OpenRDM/src/libmem/libMem.h
- /home/travis/build/SinaMostafanejad/OpenRDM/src/libmem/libMem.cc