libnick 2025.3.0
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 getTotalRamSize();
20 unsigned 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 getFreeRamSize()
Gets the amount of RAM free in the system in bytes.
unsigned long getTotalRamSize()
Gets the amount of RAM in the system in bytes.