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.
Architecture, eg: x86, Itanium, SPARC, PA-RISC property MHz as %Numeric;
Clock in MHz property MTEnabled as %Boolean;
Is Hardware Multi-Threading enabled? property MTSupported as %Boolean;
Is Hardware Multi-Threading supported? property Model as %String;
Chip model, eg: Pentium 4, POWER5 property Vendor as %String;
Chip vendor, eg: Intel, Sun, IBM property nChips as %Numeric;
Number of chips (depends on partition configuration) property nCores as %Numeric;
Number of cores (depends on partition configuration) property nCoresPerChip as %Numeric;
Number of cores per chip (physical property) property nThreads as %Numeric;
Number of threads (virtual or logical cpus) property nThreadsPerCore as %Numeric;
Number of threads per core (physical property)
This callback method is invoked by the %New method to provide notification that a new instance of an object is being created. classmethod Dump()
If this method returns an error then the object will not be created.
It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:
Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.
Display CPU information method Refresh() as %Status
Force update and get new properties