lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
438 stars 76 forks source link

Added RAM Free memory to Linux/Windows #21

Closed Ace-Krypton closed 1 year ago

lfreist commented 1 year ago

Does not build on Windows and MacOS. To fix this, please implement the getFreeAvailableMemory within src/windows/ram.cpp and src/apple/ram.cpp aswell and just return -1.

Also please rename the method to getFreeMemory. Free and Available kind of are the same