#include <memory.h>
Public Member Functions | |
int | getKB () |
MemoryUsage (int pid=getpid()) | |
Private Attributes | |
int | pid |
int | start |
memory usage gets the ammount of memory in kB from process with pid it only returns the difference between start and request
measurement_tools::MemoryUsage::MemoryUsage | ( | int | pid = getpid() | ) | [inline] |
int measurement_tools::MemoryUsage::getKB | ( | ) | [inline] |
int measurement_tools::MemoryUsage::pid [private] |
int measurement_tools::MemoryUsage::start [private] |