Lines Matching defs:basic_info
884 register thread_basic_info_t basic_info;
889 basic_info = (thread_basic_info_t) thread_info_out;
896 thread_read_times(thread, &basic_info->user_time,
897 &basic_info->system_time);
905 basic_info->sleep_time = 0;
912 basic_info->cpu_usage = ((uint64_t)thread->cpu_usage
914 basic_info->cpu_usage = (basic_info->cpu_usage * 3) / 5;
916 if (basic_info->cpu_usage > TH_USAGE_SCALE)
917 basic_info->cpu_usage = TH_USAGE_SCALE;
919 basic_info->policy = ((thread->sched_mode & TH_MODE_TIMESHARE)?
945 basic_info->run_state = state;
946 basic_info->flags = flags;
948 basic_info->suspend_count = thread->user_stop_count;