PhoenixHardware
0.2.0
Tools to get hardware information
Toggle main menu visibility
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
13
float
phoenix_hardware_usedRAM
();
14
float
phoenix_hardware_totalRAM
();
15
16
void
phoenix_hardware_hostNameIp
(std::string & hostName, std::string & ipAddress);
17
size_t
phoenix_hardware_nbCore
();
18
19
#endif
phoenix_hardware_hostNameIp
void phoenix_hardware_hostNameIp(std::string &hostName, std::string &ipAddress)
Get the host name and the IP address and the current host.
Definition
phoenix_hardware_characteristics.cpp:73
phoenix_hardware_usedRAM
float phoenix_hardware_usedRAM()
Get the ratio of RAM used when this function is called.
Definition
phoenix_hardware_characteristics.cpp:29
phoenix_hardware_nbCore
size_t phoenix_hardware_nbCore()
Get the number of cores on the current host.
Definition
phoenix_hardware_characteristics.cpp:96
phoenix_hardware_totalRAM
float phoenix_hardware_totalRAM()
Get the total amount of RAM (in GB) of the current host.
Definition
phoenix_hardware_characteristics.cpp:58
src
phoenix_hardware_characteristics.h
Generated by
1.17.0