2.16.
CLASS: HOST CPU
CHAPTER 2.
API REFERENCE
2.16
Class: host cpu
2.16.1
Fields for class: host cpu
Name
host cpu
Description
A physical CPU.
Quals
Field
Type
Description
RO
run
uuid
string
unique identifier/object reference
RO
run
host
host ref
the host the CPU is in
RO
run
number
int
the number of the physical CPU
within the host
RO
run
vendor
string
the vendor of the physical CPU
RO
run
speed
int
the speed of the physical CPU
RO
run
modelname
string
the model name of the physical CPU
RO
run
family
int
the family (number) of the physical
CPU
RO
run
model
int
the model number of the physical
CPU
RO
run
stepping
string
the stepping of the physical CPU
RO
run
flags
string
the flags of the physical CPU (a de-
coded version of the features field)
RO
run
features
string
the physical CPU feature bitmap
RO
run
utilisation
float
the current CPU utilisation
2.16.2
RPCs associated with class: host cpu
RPC name: get all
Overview:
Return a list of all the host cpus known to the system.
Signature:
((host_cpu ref) Set) get_all (session_id s)
Return Type:
(host cpu ref) Set
references to all objects
RPC name: get all records
Overview:
Return a map of host cpu references to host cpu records for all host cpus known to the system.
Signature:
((host_cpu ref -> host_cpu record) Map) get_all_records (session_id s)
Return Type:
(host cpu ref
→
host cpu record) Map
records of all objects
148