Searched refs:basic_info (Results 1 - 6 of 6) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | host.c | 155 register host_basic_info_t basic_info; local 164 basic_info = (host_basic_info_t) info; 166 basic_info->memory_size = machine_info.memory_size; 167 basic_info->max_cpus = machine_info.max_cpus; 168 basic_info->avail_cpus = processor_avail_count; 170 basic_info->cpu_type = slot_type(master_num); 171 basic_info->cpu_subtype = slot_subtype(master_num); 174 basic_info->cpu_threadtype = slot_threadtype(master_num); 175 basic_info->physical_cpu = machine_info.physical_cpu; 176 basic_info [all...] |
H A D | task.c | 1195 task_basic_info_32_t basic_info; local 1201 basic_info = (task_basic_info_32_t)task_info_out; 1204 basic_info->virtual_size = CAST_DOWN(vm_offset_t,map->size); 1210 basic_info->resident_size = pmap_resident_max(map->pmap); 1212 basic_info->resident_size = pmap_resident_count(map->pmap); 1214 basic_info->resident_size *= PAGE_SIZE; 1217 basic_info->policy = ((task != kernel_task)? 1219 basic_info->suspend_count = task->user_stop_count; 1222 (unsigned *)&basic_info->user_time.seconds, 1223 (unsigned *)&basic_info 1235 task_basic_info_64_t basic_info; local [all...] |
H A D | bsd_kern.c | 580 thread_basic_info_data_t basic_info; local 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 [all...] |
H A D | processor.c | 267 register processor_basic_info_t basic_info; local 272 basic_info = (processor_basic_info_t) info; 273 basic_info->cpu_type = slot_type(cpu_num); 274 basic_info->cpu_subtype = slot_subtype(cpu_num); 277 basic_info->running = FALSE; 279 basic_info->running = TRUE; 280 basic_info->slot_num = cpu_num; 282 basic_info->is_master = TRUE; 284 basic_info->is_master = FALSE; 492 register processor_set_basic_info_t basic_info; local [all...] |
H A D | thread.c | 884 register thread_basic_info_t basic_info; local 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 [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | tty.c | 2347 thread_basic_info_data_t basic_info; local 2406 (thread_info_internal(thread, THREAD_BASIC_INFO, (thread_info_t)&basic_info, &mmtn) != KERN_SUCCESS)) { 2413 switch(basic_info.run_state) {
|
Completed in 43 milliseconds