![]() |
|
PhoenixHardware
0.2.0
Tools to get hardware information
|
#include <iostream>#include <string>
Include dependency graph for phoenix_hardware_characteristics.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | phoenix_hardware_hostNameIp (std::string &hostName, std::string &ipAddress) |
| Get the host name and the IP address and the current host. | |
| size_t | phoenix_hardware_nbCore () |
| Get the number of cores on the current host. | |
| float | phoenix_hardware_totalRAM () |
| Get the total amount of RAM (in GB) of the current host. | |
| float | phoenix_hardware_usedRAM () |
| Get the ratio of RAM used when this function is called. | |
| void phoenix_hardware_hostNameIp | ( | std::string & | hostName, |
| std::string & | ipAddress ) |
Get the host name and the IP address and the current host.
| [out] | hostName | : name of the current host |
| [out] | ipAddress | : ip address of the current host |
Definition at line 73 of file phoenix_hardware_characteristics.cpp.
| size_t phoenix_hardware_nbCore | ( | ) |
Get the number of cores on the current host.
Definition at line 96 of file phoenix_hardware_characteristics.cpp.
| float phoenix_hardware_totalRAM | ( | ) |
Get the total amount of RAM (in GB) of the current host.
Definition at line 58 of file phoenix_hardware_characteristics.cpp.
| float phoenix_hardware_usedRAM | ( | ) |
Get the ratio of RAM used when this function is called.
Definition at line 29 of file phoenix_hardware_characteristics.cpp.