extern struct thread_basic_info [src]
Alias for std.c.darwin.thread_basic_info
Fields
user_time: time_value_t
system_time: time_value_t
cpu_usage: integer_t
policy: policy_t
run_state: integer_t
flags: integer_t
suspend_count: integer_t
sleep_time: integer_t
Source
pub const thread_basic_info = extern struct {
// user run time
user_time: time_value_t,
// system run time
system_time: time_value_t,
// scaled cpu usage percentage
cpu_usage: integer_t,
// scheduling policy in effect
policy: policy_t,
// run state
run_state: integer_t,
// various flags
flags: integer_t,
// suspend count for thread
suspend_count: integer_t,
// number of seconds that thread has been sleeping
sleep_time: integer_t,
}