IRISLIB database
CPU Class Reference

This class holds information about available processors. More...

Inheritance diagram for CPU:
Collaboration diagram for CPU:

Public Member Functions

_.Library.Status Refresh ()
 Force update and get new properties.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Static Public Member Functions

 Dump ()
 Display CPU information.
 
- Static Public Member Functions inherited from Help
_.Library.String Help (_.Library.String method)
 This is a helper class that is used by the various SYSTEM classes to provide a Help method. More...
 

Public Attributes

 Arch
 Architecture, eg: x86, Itanium, SPARC, PA-RISC. More...
 
 InsideCgroup
 Is IRIS running inside a cgroup. More...
 
 MHz
 Clock in MHz. More...
 
 MTEnabled
 Is Hardware Multi-Threading enabled? (eg: HyperThreading(Intel) or SMT(ppc)) More...
 
 MTSupported
 Is Hardware Multi-Threading supported? More...
 
 Model
 Chip model, eg: Pentium 4, POWER5. More...
 
 PeriodUs
 cgroup cfs period in us More...
 
 QuotaUs
 cgroup cfs quota in us More...
 
 Vendor
 Chip vendor, eg: Intel, Sun, IBM. More...
 
 nChips
 Total number of chips. More...
 
 nCores
 Total number of cores. More...
 
 nCoresPerChip
 Number of cores per chip (physical property) More...
 
 nThreads
 Total number of threads (virtual or logical cpus) More...
 
 nThreadsPerCore
 Number of threads per core (physical property) More...
 

Private Member Functions

_.Library.Status OnNew ()
 This class holds information about available processors. More...
 
_.Library.Status __GetProperties ()
 Query the system and update object properties.
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

This class holds information about available processors.

The number of threads (virtual or logical cpus), cores and chips always reflect the situation in the current partition or processor set.

Member Function Documentation

◆ OnNew()

_.Library.Status OnNew ( )
private

This class holds information about available processors.

The number of threads (virtual or logical cpus), cores and chips always reflect the situation in the current partition or processor set.

Reimplemented from RegisteredObject.

Member Data Documentation

◆ Arch

Arch

Architecture, eg: x86, Itanium, SPARC, PA-RISC.

 

◆ InsideCgroup

InsideCgroup

Is IRIS running inside a cgroup.

 

◆ MHz

MHz

Clock in MHz.

 

◆ MTEnabled

MTEnabled

Is Hardware Multi-Threading enabled? (eg: HyperThreading(Intel) or SMT(ppc))

 

◆ MTSupported

MTSupported

Is Hardware Multi-Threading supported?

 

◆ Model

Model

Chip model, eg: Pentium 4, POWER5.

 

◆ PeriodUs

PeriodUs

cgroup cfs period in us

 

◆ QuotaUs

QuotaUs

cgroup cfs quota in us

 

◆ Vendor

Vendor

Chip vendor, eg: Intel, Sun, IBM.

 

◆ nChips

nChips

Total number of chips.

 

◆ nCores

nCores

Total number of cores.

 

◆ nCoresPerChip

nCoresPerChip

Number of cores per chip (physical property)

 

◆ nThreads

nThreads

Total number of threads (virtual or logical cpus)

 

◆ nThreadsPerCore

nThreadsPerCore

Number of threads per core (physical property)