summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXGravatar Morph2022-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 includesGravatar ameerj2022-03-191-1/+1
|
* common: switch to nullptr for sysctl's empty new valueGravatar Jan Beich2020-06-301-4/+4
|
* common: add sysconf() fallbackGravatar Jan Beich2020-06-291-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"Gravatar Morph2020-05-271-2/+5
|
* main: Log host system memory parametersGravatar Morph2020-05-171-0/+57
Logs both physical memory and swapfile sizes, this is useful for support.