library: adapt proc_t for top 'page fault delta' counts

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2012-07-05 12:47:22 -05:00 committed by Craig Small
parent 6cc7416441
commit 7753bd1004

View File

@ -43,6 +43,9 @@ typedef struct proc_t {
ppid; // stat,status pid of parent process ppid; // stat,status pid of parent process
unsigned unsigned
pcpu; // stat (special) %CPU usage (is not filled in by readproc!!!) pcpu; // stat (special) %CPU usage (is not filled in by readproc!!!)
unsigned long // next 2 fields are NOT filled in by readproc
maj_delta, // stat (special) major page faults since last update
min_delta; // stat (special) minor page faults since last update
char char
state, // stat,status single-char code for process state (S=sleeping) state, // stat,status single-char code for process state (S=sleeping)
#ifdef QUICK_THREADS #ifdef QUICK_THREADS