LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MemoryMonitor.cpp File Reference
#include "Common.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fstream>
#include <strings.h>
#include "MemoryMonitor.h"
#include "Settings.h"
#include "Time.h"
#include "HostBase.h"
Include dependency graph for MemoryMonitor.cpp:

Macros

#define OOM_ADJ_PATH   "/proc/%d/oom_adj"
 
#define OOM_SCORE_ADJ_PATH   "/proc/%d/oom_score_adj"
 
#define OOM_ADJ_VALUE   -17
 
#define OOM_SCORE_ADJ_VALUE   -1000
 

Macro Definition Documentation

#define OOM_ADJ_PATH   "/proc/%d/oom_adj"
#define OOM_ADJ_VALUE   -17
#define OOM_SCORE_ADJ_PATH   "/proc/%d/oom_score_adj"
#define OOM_SCORE_ADJ_VALUE   -1000