libnick 2025.6.5
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
hardwareinfo.h
Go to the documentation of this file.
1#ifndef HARDWAREINFO_H
2#define HARDWAREINFO_H
3
5{
10 unsigned int getNumberOfProcessors();
15 unsigned long long getTotalRamSize();
20 unsigned long long getFreeRamSize();
21}
22
23#endif //HARDWAREINFO_H
Definition hardwareinfo.h:5
unsigned int getNumberOfProcessors()
Gets the number of logical processors (CPU) on the system.
unsigned long long getTotalRamSize()
Gets the amount of RAM in the system in bytes.
unsigned long long getFreeRamSize()
Gets the amount of RAM free in the system in bytes.