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

Functions

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

Function Documentation

◆ getFreeRamSize()

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

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 ( )

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

Returns
The number of logical processors

◆ getTotalRamSize()

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

Gets the amount of RAM in the system in bytes.

Returns
The amount of RAM in bytes