remove some table inconsistencies and rename it_real_value
This commit is contained in:
@@ -22,7 +22,9 @@
|
||||
//
|
||||
// PowerPC: Big ugly problem! Macs are popular. :-/
|
||||
//
|
||||
// Unknown: PA-RISC, zSeries, and x86-64
|
||||
// x86-64: Red Hat gets this right. Debian???
|
||||
//
|
||||
// Unknown: PA-RISC and zSeries
|
||||
//
|
||||
#if defined(k64test) || defined(__sparc__) // || defined(__mips__) || defined(__powerpc__)
|
||||
#define KLONG long long // not typedef; want "unsigned KLONG" to work
|
||||
|
@@ -334,7 +334,7 @@ ENTER(0x160);
|
||||
&P->utime, &P->stime, &P->cutime, &P->cstime,
|
||||
&P->priority, &P->nice,
|
||||
&P->nlwp,
|
||||
&P->it_real_value,
|
||||
&P->alarm,
|
||||
&P->start_time,
|
||||
&P->vsize,
|
||||
&P->rss,
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
EXTERN_C_BEGIN
|
||||
|
||||
// ld cutime, cstime, priority, nice, timeout, it_real_value, rss,
|
||||
// ld cutime, cstime, priority, nice, timeout, alarm, rss,
|
||||
// c state,
|
||||
// d ppid, pgrp, session, tty, tpgid,
|
||||
// s signal, blocked, sigignore, sigcatch,
|
||||
@@ -73,7 +73,7 @@ typedef struct proc_t {
|
||||
priority, // stat kernel scheduling priority
|
||||
nice, // stat standard unix nice level of process
|
||||
rss, // stat resident set size from /proc/#/stat (pages)
|
||||
it_real_value, // stat ?
|
||||
alarm, // stat ?
|
||||
// the next 7 members come from /proc/#/statm
|
||||
size, // statm total # of pages of memory
|
||||
resident, // statm number of resident set (non-swapped) pages (4k)
|
||||
|
Reference in New Issue
Block a user