summaryrefslogtreecommitdiff
path: root/lib/physmem.c
AgeCommit message (Collapse)Author
2003-03-05(ARRAY_SIZE): Define it.Jim Meyering
2003-02-27(physmem_total, physmem_available): Add comments.Jim Meyering
2003-02-27Merge in portability changes from gcc/libibertyJim Meyering
to support AIX, Tru64, and Windows. See the ChangeLog there for credits and details.
2003-02-17Undo most of last change.Jim Meyering
Use sysmp instead, since it provides a cleaner interface.
2003-02-15(main) [DEBUG]: New function.Jim Meyering
2003-02-15Clean up change of a minute ago.Jim Meyering
2003-02-15Add Irix6 support to physmem.c.Jim Meyering
(irix_sysget): New function. (IRIX_SYSGET_TOTAL, IRIX_SYSGET_AVAILABLE): New macros. (physmem_total, physmem_available): Use them.
2001-11-16[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.Jim Meyering
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to determine the amount of total physical memory, use pstat_getstatic. HPUX-11 doesn't define _SC_PHYS_PAGES. (physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]: If sysconf couldn't be used to determine the amount of available physical memory, use both pstat_getstatic and pstat_getdynamic. Based on a patch from Bob Proulx.
2000-12-19*** empty log message ***Jim Meyering