summaryrefslogtreecommitdiffstats
path: root/src/common/memory_detect.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* common: Reduce unused includesameerj2022-03-191-1/+1
|
* common: switch to nullptr for sysctl's empty new valueJan Beich2020-07-011-4/+4
|
* common: add sysconf() fallbackJan Beich2020-06-301-3/+16
| | | | | | src/common/memory_detect.cpp:15:10: fatal error: 'sys/sysinfo.h' file not found #include <sys/sysinfo.h> ^~~~~~~~~~~~~~~
* Fix macOS code and change "Swapfile" to "Swap"Morph2020-05-271-2/+5
|
* main: Log host system memory parametersMorph2020-05-171-0/+57
Logs both physical memory and swapfile sizes, this is useful for support.