Public Member Functions | Static Public Member Functions

zeus::TSystemInfo Class Reference

#include <SystemInfo.h>

Inheritance diagram for zeus::TSystemInfo:
zeus::TZObject zeus::IZUnknown

List of all members.

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 ()

Detailed Description

The system information class is used to get informations about the operation system and hardware


Constructor & Destructor Documentation

TSystemInfo::TSystemInfo (  )

creates the system information object

TSystemInfo::~TSystemInfo (  ) [virtual]

destroys the system information object


Member Function Documentation

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

Returns:
CPU load
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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:41