summaryrefslogtreecommitdiffstats
path: root/src/common/memory_detect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-19common: Reduce unused includesameerj1-1/+1
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.