Home
last modified time | relevance | path

Searched refs:basic_info (Results 1 – 3 of 3) sorted by relevance

/external/lldb/tools/darwin-threads/
Dexamine-threads.c399 thread_basic_info_t basic_info = get_thread_basic_info (thread_list[i]); in main() local
408 basic_info->suspend_count); in main()
414 switch (basic_info->run_state) { in main()
437 basic_info->user_time.seconds, basic_info->user_time.microseconds, in main()
438basic_info->system_time.seconds, basic_info->system_time.microseconds); in main()
439 if (basic_info->cpu_usage > 0) in main()
441 float cpu_percentage = basic_info->cpu_usage / 10.0; in main()
444 if (basic_info->sleep_time > 0) in main()
445 printf (", this thread has slept for %d seconds", basic_info->sleep_time); in main()
448 printf ("scheduling policy %d", basic_info->policy); in main()
[all …]
/external/lldb/tools/debugserver/source/MacOSX/
DMachTask.cpp253 thread_basic_info_data_t basic_info; in get_threads_profile_data() local
255 kr = ::thread_info(threads[i], THREAD_BASIC_INFO, (thread_info_t)&basic_info, &count); in get_threads_profile_data()
258 if ((basic_info.flags & TH_FLAGS_IDLE) == 0) in get_threads_profile_data()
282 TIME_VALUE_TO_TIMEVAL(&basic_info.user_time, &thread_tv); in get_threads_profile_data()
283 TIME_VALUE_TO_TIMEVAL(&basic_info.system_time, &tv); in get_threads_profile_data()
DMachThread.h114 static bool GetBasicInfo(thread_t threadID, struct thread_basic_info *basic_info);