X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/host_load_info.html diff --git a/osfmk/man/host_load_info.html b/osfmk/man/host_load_info.html index ab61fa27b..4a851f39c 100755 --- 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. +