libnick 2025.9.1
A cross-platform base for native Nickvision applications.
|
Go to the source code of this file.
Namespaces | |
namespace | Nickvision |
namespace | Nickvision::System |
namespace | Nickvision::System::HardwareInfo |
Functions for working with the system's hardware information. | |
Functions | |
unsigned int | Nickvision::System::HardwareInfo::getNumberOfProcessors () noexcept |
Gets the number of logical processors (CPU) on the system. | |
unsigned long long | Nickvision::System::HardwareInfo::getTotalRamSize () noexcept |
Gets the amount of RAM in the system in bytes. | |
unsigned long long | Nickvision::System::HardwareInfo::getFreeRamSize () noexcept |
Gets the amount of RAM free in the system in bytes. | |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at https://www.gnu.org/copyleft/gpl.html
Functions for working with the system's hardware information.