summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp
AgeCommit message (Collapse)Author
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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 includesameerj
2020-06-30common: switch to nullptr for sysctl's empty new valueJan Beich
2020-06-29common: add sysconf() fallbackJan Beich
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"Morph
2020-05-17main: Log host system memory parametersMorph
Logs both physical memory and swapfile sizes, this is useful for support.