Lines Matching refs:basic_info
580 thread_basic_info_data_t basic_info;
597 if ((kret = thread_info_internal(thact, THREAD_BASIC_INFO, (thread_info_t)&basic_info, &count)) != KERN_SUCCESS) {
602 ptinfo->pth_user_time = timer_grab(&basic_info.user_time);
603 ptinfo->pth_system_time = timer_grab(&basic_info.system_time);
605 ptinfo->pth_user_time = ((basic_info.user_time.seconds * NSEC_PER_SEC) + (basic_info.user_time.microseconds * NSEC_PER_USEC));
606 ptinfo->pth_system_time = ((basic_info.system_time.seconds * NSEC_PER_SEC) + (basic_info.system_time.microseconds * NSEC_PER_USEC));
609 ptinfo->pth_cpu_usage = basic_info.cpu_usage;
610 ptinfo->pth_policy = basic_info.policy;
611 ptinfo->pth_run_state = basic_info.run_state;
612 ptinfo->pth_flags = basic_info.flags;
613 ptinfo->pth_sleep_time = basic_info.sleep_time;