#include <SystemInfo.h>
Public Member Functions | |
| TSystemInfo () | |
| virtual | ~TSystemInfo () |
| Int | getNumberOfCPUs () const |
| Int64 | getPageSize () const |
Static Public Member Functions | |
| static TString | getComputerName () |
| static TString | getDomainName () |
| static Float | getCPULoadOfProcess () |
The system information class is used to get informations about the operation system and hardware
| TSystemInfo::TSystemInfo | ( | ) |
creates the system information object
| TSystemInfo::~TSystemInfo | ( | ) | [virtual] |
destroys the system information object
| TString TSystemInfo::getComputerName | ( | ) | [static] |
returns the name of the computer
| Float TSystemInfo::getCPULoadOfProcess | ( | ) | [static] |
returns the CUP load of the current process. The value is given in per cent
| TString TSystemInfo::getDomainName | ( | ) | [static] |
returns the name of the computer domain
| Int TSystemInfo::getNumberOfCPUs | ( | ) | const |
returns the number of CPUs
| Int64 TSystemInfo::getPageSize | ( | ) | const [inline] |
returns the number of CPUs