libnick 2025.9.1
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
hardwareinfo.h
Go to the documentation of this file.
1
22
23#ifndef HARDWAREINFO_H
24#define HARDWAREINFO_H
25
30{
35 unsigned int getNumberOfProcessors() noexcept;
40 unsigned long long getTotalRamSize() noexcept;
45 unsigned long long getFreeRamSize() noexcept;
46}
47
48#endif //HARDWAREINFO_H
Functions for working with the system's hardware information.
Definition hardwareinfo.h:30
unsigned long long getFreeRamSize() noexcept
Gets the amount of RAM free in the system in bytes.
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.