libnick 2025.9.1
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
Nickvision::System::HardwareInfo Namespace Reference

Functions for working with the system's hardware information. More...

Functions

unsigned int getNumberOfProcessors () noexcept
 Gets the number of logical processors (CPU) on the system.
 
unsigned long long getTotalRamSize () noexcept
 Gets the amount of RAM in the system in bytes.
 
unsigned long long getFreeRamSize () noexcept
 Gets the amount of RAM free in the system in bytes.
 

Detailed Description

Functions for working with the system's hardware information.

Function Documentation

◆ getFreeRamSize()

unsigned long long Nickvision::System::HardwareInfo::getFreeRamSize ( )
noexcept

Gets the amount of RAM free in the system in bytes.

Returns
The amount of free RAM in bytes

◆ getNumberOfProcessors()

unsigned int Nickvision::System::HardwareInfo::getNumberOfProcessors ( )
noexcept

Gets the number of logical processors (CPU) on the system.

Returns
The number of logical processors

◆ getTotalRamSize()

unsigned long long Nickvision::System::HardwareInfo::getTotalRamSize ( )
noexcept

Gets the amount of RAM in the system in bytes.

Returns
The amount of RAM in bytes