Add reporting swap file size to GlobalMemoryStatusEx on Unix (#10700)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 7 Apr 2017 13:35:34 +0000 (15:35 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2017 13:35:34 +0000 (15:35 +0200)
commita2ed1fa2420f5aa385007e205e30616dd75fc881
treed54e5a9201dbe4bac7dca538fed62f6515cdb685
parente65bb61cdd856af63e4c096632dca33ec3984ef4
Add reporting swap file size to GlobalMemoryStatusEx on Unix (#10700)

The swap file size reporting is added using the Linux, OSX and FreeBSD
means. Also a new PAL test was added to exercise the function.
src/pal/src/config.h.in
src/pal/src/configure.cmake
src/pal/src/misc/sysinfo.cpp
src/pal/tests/palsuite/miscellaneous/CMakeLists.txt
src/pal/tests/palsuite/miscellaneous/GlobalMemoryStatusEx/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/miscellaneous/GlobalMemoryStatusEx/test1/CMakeLists.txt [new file with mode: 0644]
src/pal/tests/palsuite/miscellaneous/GlobalMemoryStatusEx/test1/test.cpp [new file with mode: 0644]
src/pal/tests/palsuite/miscellaneous/GlobalMemoryStatusEx/test1/testinfo.dat [new file with mode: 0644]
src/pal/tests/palsuite/paltestlist.txt
src/pal/tests/palsuite/palverify.dat