Home | History | Annotate | Download | only in darwin-threads

Lines Matching refs:basic_info

399           thread_basic_info_t basic_info = get_thread_basic_info (thread_list[i]);
408 basic_info->suspend_count);
414 switch (basic_info->run_state) {
437 basic_info->user_time.seconds, basic_info->user_time.microseconds,
438 basic_info->system_time.seconds, basic_info->system_time.microseconds);
439 if (basic_info->cpu_usage > 0)
441 float cpu_percentage = basic_info->cpu_usage / 10.0;
444 if (basic_info->sleep_time > 0)
445 printf (", this thread has slept for %d seconds", basic_info->sleep_time);
448 printf ("scheduling policy %d", basic_info->policy);
450 if (basic_info->flags != 0)
452 printf (", flags %d", basic_info->flags);
453 if ((basic_info->flags | TH_FLAGS_SWAPPED) == TH_FLAGS_SWAPPED)
455 if ((basic_info->flags | TH_FLAGS_IDLE) == TH_FLAGS_IDLE)
464 free ((void *) basic_info);