OSDN Git Service

* fhandler_proc.cc (format_proc_meminfo): On NT, try to figure out
authorcorinna <corinna>
Thu, 18 Mar 2004 12:28:46 +0000 (12:28 +0000)
committercorinna <corinna>
Thu, 18 Mar 2004 12:28:46 +0000 (12:28 +0000)
commit51d0f42d987674c3a13586559683d176f60906e1
tree24e1f7c767a1b8a140df157130f53812448429ec
parent134e57c8ff6ecd1ef660a59d7f2799788cac61f0
* fhandler_proc.cc (format_proc_meminfo): On NT, try to figure out
real swap file usage by requesting SystemPagefileInformation.  Use
GlobalMemoryStatus as fallback.
* ntdll.h (_SYSTEM_INFORMATION_CLASS): Add SystemPagefileInformation.
(struct _SYSTEM_PAGEFILE_INFORMATION): Define.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_proc.cc
winsup/cygwin/ntdll.h