X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/91447636331957f3d9b5ca5b508f07c526b0074d..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/man/host_basic_info.html?ds=sidebyside diff --git a/osfmk/man/host_basic_info.html b/osfmk/man/host_basic_info.html old mode 100755 new mode 100644 index 2a30d3187..b14209c2f --- a/osfmk/man/host_basic_info.html +++ b/osfmk/man/host_basic_info.html @@ -1 +1,86 @@ -

host_basic_info


Structure - Used to present basic information about a host.

SYNOPSIS

struct host_basic_info
{
       integer_t            max_cpus;
       integer_t            avail_cpus;
       vm_size_t            memory_size;
       cpu_type_t           cpu_type;
       cpu_subtype_t        cpu_subtype;
       cpu_threadtype_t     cpu_threadtype;
       integer_t            physical_cpu;
       integer_t            physical_cpu_max;
       integer_t            logical_cpu;
       integer_t            logical_cpu_max;
       uint64_t             max_mem;
};

typedef struct host_basic_info* host_basic_info_t;

FIELDS

max_cpus
Maximum number of CPUs possible

avail_cpus
Number of CPUs now available

memory_size
Size of memory in bytes, capped at 2 GB

cpu_type
CPU type

cpu_subtype
CPU sub-type

cpu_threadtype
CPU thread-type

physical_cpu
Number of physical CPUs now available

physical_cpu_max
Maximum number of physical CPUs possible

logical_cpu
Number of logical CPUs now available

logical_cpu_max
Maximum number of logical CPUs possible

max_mem
Actual size of physical memory in bytes

DESCRIPTION

The host_basic_info structure defines the basic information available about a host.

NOTES

This structure is machine word length specific because of the memory size returned.

RELATED INFORMATION

Functions: host_info.

Data Structures: host_load_info, host_sched_info. \ No newline at end of file +

host_basic_info

+
+

+Structure - Used to present basic information about a host. +

SYNOPSIS

+
+struct host_basic_info
+{
+       integer_t            max_cpus;
+       integer_t            avail_cpus;
+       vm_size_t            memory_size;
+       cpu_type_t           cpu_type;
+       cpu_subtype_t        cpu_subtype;
+       cpu_threadtype_t     cpu_threadtype;
+       integer_t            physical_cpu;
+       integer_t            physical_cpu_max;
+       integer_t            logical_cpu;
+       integer_t            logical_cpu_max;
+       uint64_t             max_mem;
+};
+
+typedef struct host_basic_info* host_basic_info_t;
+
+

FIELDS

+
+
max_cpus +
+Maximum number of CPUs possible +

+

avail_cpus +
+Number of CPUs now available +

+

memory_size +
+Size of memory in bytes, capped at 2 GB +

+

cpu_type +
+CPU type +

+

cpu_subtype +
+CPU sub-type +

+

cpu_threadtype +
+CPU thread-type +

+

physical_cpu +
+Number of physical CPUs now available +

+

physical_cpu_max +
+Maximum number of physical CPUs possible +

+

logical_cpu +
+Number of logical CPUs now available +

+

logical_cpu_max +
+Maximum number of logical CPUs possible +

+

max_mem +
+Actual size of physical memory in bytes +
+

DESCRIPTION

+

+The host_basic_info structure defines the basic information +available about a +host. +

NOTES

+

+This structure is machine word length specific because of the memory size +returned. +

RELATED INFORMATION

+

+Functions: +host_info. +

+Data Structures: +host_load_info, +host_sched_info.