diff --git a/proc/readproc.h b/proc/readproc.h index 0ae3b302..fb83dda6 100644 --- a/proc/readproc.h +++ b/proc/readproc.h @@ -41,11 +41,11 @@ typedef struct proc_t { int tid, // (special) task id, the POSIX thread ID (see also: tgid) ppid; // stat,status pid of parent process - unsigned - 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 + unsigned + pcpu; // stat (special) %CPU usage (is not filled in by readproc!!!) char state, // stat,status single-char code for process state (S=sleeping) #ifdef QUICK_THREADS