1 <h2>host_basic_info
</h2>
4 <strong>Structure
</strong> - Used to present basic information about a host.
7 <strong>struct host_basic_info
</strong>
9 <strong>integer_t
</strong> <var>max_cpus
</var><strong>;
</strong>
10 <strong>integer_t
</strong> <var>avail_cpus
</var><strong>;
</strong>
11 <strong>vm_size_t
</strong> <var>memory_size
</var><strong>;
</strong>
12 <strong>cpu_type_t
</strong> <var>cpu_type
</var><strong>;
</strong>
13 <strong>cpu_subtype_t
</strong> <var>cpu_subtype
</var><strong>;
</strong>
14 <strong>cpu_threadtype_t
</strong> <var>cpu_threadtype
</var><strong>;
</strong>
15 <strong>integer_t
</strong> <var>physical_cpu
</var><strong>;
</strong>
16 <strong>integer_t
</strong> <var>physical_cpu_max
</var><strong>;
</strong>
17 <strong>integer_t
</strong> <var>logical_cpu
</var><strong>;
</strong>
18 <strong>integer_t
</strong> <var>logical_cpu_max
</var><strong>;
</strong>
19 <strong>uint64_t
</strong> <var>max_mem
</var><strong>;
</strong>
22 <strong>typedef struct host_basic_info* host_basic_info_t;
</strong>
26 <dt> <var>max_cpus
</var>
28 Maximum number of CPUs possible
30 <dt> <var>avail_cpus
</var>
32 Number of CPUs now available
34 <dt> <var>memory_size
</var>
36 Size of memory in bytes, capped at
2 GB
38 <dt> <var>cpu_type
</var>
42 <dt> <var>cpu_subtype
</var>
46 <dt> <var>cpu_threadtype
</var>
50 <dt> <var>physical_cpu
</var>
52 Number of physical CPUs now available
54 <dt> <var>physical_cpu_max
</var>
56 Maximum number of physical CPUs possible
58 <dt> <var>logical_cpu
</var>
60 Number of logical CPUs now available
62 <dt> <var>logical_cpu_max
</var>
64 Maximum number of logical CPUs possible
66 <dt> <var>max_mem
</var>
68 Actual size of physical memory in bytes
72 The
<strong>host_basic_info
</strong> structure defines the basic information
77 This structure is machine word length specific because of the memory size
79 <h3>RELATED INFORMATION
</h3>
82 <a href=
"host_info.html"><strong>host_info
</strong></a>.
85 <a href=
"host_load_info.html"><strong>host_load_info
</strong></a>,
86 <a href=
"host_sched_info.html"><strong>host_sched_info
</strong></a>.