X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..c6bf4f310a33a9262d455ea4d3f0630b1255e3fe:/osfmk/man/host_load_info.html diff --git a/osfmk/man/host_load_info.html b/osfmk/man/host_load_info.html old mode 100755 new mode 100644 index ab61fa27b..4a851f39c --- a/osfmk/man/host_load_info.html +++ b/osfmk/man/host_load_info.html @@ -1 +1,47 @@ -

host_load_info


Structure - Used to present a host's processor load information.

SYNOPSIS

#define CPU_STATE_USER     0

#define CPU_STATE_SYSTEM   1

#define CPU_STATE_IDLE     2

struct host_load_info
{
       integer_t        avenrun[3];
       integer_t    mach_factor[3];
};

typedef struct host_load_info* host_load_info_t;

FIELDS

avenrun
load average--average number of runnable processes divided by number of CPUs

mach_factor
The processing resources available to a new thread--the number of CPUs divided by (1 + the number of threads)

DESCRIPTION

The host_load_info structure defines the loading information available about a host. The information returned is exponential averages over three periods of time: 5, 30 and 60 seconds.

RELATED INFORMATION

Functions: host_statistics.

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

host_load_info

+
+

+Structure - Used to present a host's processor load information. +

SYNOPSIS

+
+#define CPU_STATE_USER     0
+
+#define CPU_STATE_SYSTEM   1
+
+#define CPU_STATE_IDLE     2
+
+struct host_load_info
+{
+       integer_t        avenrun[3];
+       integer_t    mach_factor[3];
+};
+
+typedef struct host_load_info* host_load_info_t;
+
+

FIELDS

+
+
avenrun +
+load average--average number of runnable processes divided by +number of CPUs +

+

mach_factor +
+The processing resources available to a new thread--the number of +CPUs divided by (1 + the number of threads) +
+

DESCRIPTION

+

+The host_load_info structure defines the loading information +available about a +host. The information returned is exponential averages over three periods of +time: 5, 30 and 60 seconds. +

RELATED INFORMATION

+

+Functions: +host_statistics. +

+Data Structures: +host_basic_info, +host_sched_info. +