remove some table inconsistencies and rename it_real_value

This commit is contained in:
albert
2004-04-17 03:13:56 +00:00
parent 2f11592ae6
commit 3f603adbae
8 changed files with 35 additions and 44 deletions

View File

@@ -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

View File

@@ -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,

View File

@@ -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)