summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXGravatar Morph1-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 includesGravatar ameerj1-1/+1
2020-06-30common: switch to nullptr for sysctl's empty new valueGravatar Jan Beich1-4/+4
2020-06-29common: add sysconf() fallbackGravatar Jan 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"Gravatar Morph1-2/+5
2020-05-17main: Log host system memory parametersGravatar Morph1-0/+57
Logs both physical memory and swapfile sizes, this is useful for support.