PhoenixHardware  0.2.0
Tools to get hardware information
Loading...
Searching...
No Matches
phoenix_hardware_characteristics.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef ___PHOENIX_HARDWARE_CHARACTERISTICS_H__
8#define ___PHOENIX_HARDWARE_CHARACTERISTICS_H__
9
10#include <iostream>
11#include <string>
12
15
16void phoenix_hardware_hostNameIp(std::string & hostName, std::string & ipAddress);
18
19#endif
void phoenix_hardware_hostNameIp(std::string &hostName, std::string &ipAddress)
Get the host name and the IP address and the current host.
float phoenix_hardware_usedRAM()
Get the ratio of RAM used when this function is called.
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.