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

Int TSystemInfo::getNumberOfCPUs (  )  const

returns the number of CPUs

Int64 TSystemInfo::getPageSize (  )  const [inline]

returns the number of CPUs

Float TSystemInfo::getCPULoadOfProcess (  )  [static]

returns the CUP load of the current process. The value is given in per cent

Returns:
CPU load


The documentation for this class was generated from the following files:


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Wed Oct 28 21:42:36 2009