machine.pagesize is now number of bits we need for shifting, ie.

* glibtop_machine.h, open.c, mem.c, procmem.c: machine.pagesize
        is now number of bits we need for shifting, ie. 2^pagesize
        will give pagesize in Kb.
This commit is contained in:
Drazen Kacar
1999-05-07 23:13:46 +00:00
parent 507766bff6
commit 437c7585cc
4 changed files with 19 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ struct _glibtop_machine
kstat_t *syspages; /* memory usage */
kstat_t *bunyip; /* more memory usage */
int pagesize; /* in kilobytes */
int pagesize; /* in bits to shift, ie. 2^pagesize gives Kb */
int ticks; /* clock ticks, as returned by sysconf() */
unsigned long long boot; /* boot time, it's ui32 in kstat */
};