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:
@@ -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 */
|
||||
};
|
||||
|
Reference in New Issue
Block a user