X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..6601e61aa18bf4f09af135ff61fc7f4771d23b06:/osfmk/man/host_statistics.html diff --git a/osfmk/man/host_statistics.html b/osfmk/man/host_statistics.html index 45ba471aa..2a79cfc48 100755 --- a/osfmk/man/host_statistics.html +++ b/osfmk/man/host_statistics.html @@ -1 +1,65 @@ -

host_statistics


Function - Return statistics for a host.

SYNOPSIS

kern_return_t   host_statistics
                (host_priv_t                          host_priv,
                 host_flavor_t                           flavor,
                 host_info_t                          host_info,
                 mach_msg_type_number_t         host_info_count);

PARAMETERS

host_priv
[in host-control send right] The control port for the host for which information is to be obtained.

flavor
[in scalar] The type of statistics desired.

HOST_LOAD_INFO
System loading statistics. The returned structure is host_load_info.

HOST_VM_INFO
Virtual memory statistics. The returned structure is vm_statistics.

host_info
[out structure] Statistics about the specified host.

host_info_count
[in/out scalar] On input, the maximum size of the buffer; on output, the size returned (in natural-sized units).

DESCRIPTION

The host_statistics function returns scheduling and virtual memory statistics concerning the host as specified by flavor.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: host_info, processor_set_statistics.

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

host_statistics

+
+

+Function - Return statistics for a host.

SYNOPSIS

+
+kern_return_t   host_statistics
+                (host_priv_t                          host_priv,
+                 host_flavor_t                           flavor,
+                 host_info_t                          host_info,
+                 mach_msg_type_number_t         host_info_count);
+
+

PARAMETERS

+
+

+

host_priv +
+[in host-control send right] +The control port for the host for which +information is to be obtained. +

+

flavor +
+[in scalar] +The type of statistics desired. +
+

+

HOST_LOAD_INFO +
+System loading statistics. The returned structure is +host_load_info. +

+

HOST_VM_INFO +
+Virtual memory statistics. The returned structure is +vm_statistics. +
+

+

host_info +
+[out structure] +Statistics about the specified host. +

+

host_info_count +
+[in/out scalar] +On input, the maximum size of the buffer; on output, the +size returned (in natural-sized units). +
+

DESCRIPTION

+

+The host_statistics function returns scheduling and +virtual memory statistics +concerning the host as specified by flavor. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +host_info, +processor_set_statistics. +

+Data Structures: +host_load_info, +vm_statistics.