summaryrefslogtreecommitdiffstats
path: root/src/common/memory_detect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-01common: switch to nullptr for sysctl's empty new valueJan Beich1-4/+4
2020-06-30common: add sysconf() fallbackJan Beich1-3/+16
src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~
2020-05-27Fix macOS code and change "Swapfile" to "Swap"Morph1-2/+5
2020-05-17main: Log host system memory parametersMorph1-0/+57
Logs both physical memory and swapfile sizes, this is useful for support.