Searched refs:basic_info (Results 1 - 10 of 10) sorted by relevance
/macosx-10.9.5/system_cmds-597.90.1/hostinfo.tproj/ |
H A D | hostinfo.c | 62 struct processor_set_basic_info basic_info; local 87 &host, (processor_set_info_t)&basic_info, &count); 140 load_info.task_count, load_info.thread_count, basic_info.processor_count);
|
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/hostinfo.tproj/ |
H A D | hostinfo.c | 62 struct processor_set_basic_info basic_info; local 87 &host, (processor_set_info_t)&basic_info, &count); 140 load_info.task_count, load_info.thread_count, basic_info.processor_count);
|
/macosx-10.9.5/xnu-2422.115.4/osfmk/kern/ |
H A D | processor.c | 314 register processor_basic_info_t basic_info; local 319 basic_info = (processor_basic_info_t) info; 320 basic_info->cpu_type = slot_type(cpu_id); 321 basic_info->cpu_subtype = slot_subtype(cpu_id); 324 basic_info->running = FALSE; 326 basic_info->running = TRUE; 327 basic_info->slot_num = cpu_id; 329 basic_info->is_master = TRUE; 331 basic_info->is_master = FALSE; 595 register processor_set_basic_info_t basic_info; local [all...] |
H A D | bsd_kern.c | 682 thread_basic_info_data_t basic_info; local 695 if ((kret = thread_info_internal(thact, THREAD_BASIC_INFO, (thread_info_t)&basic_info, &count)) != KERN_SUCCESS) { 699 ptinfo->pth_user_time = ((basic_info.user_time.seconds * (integer_t)NSEC_PER_SEC) + (basic_info.user_time.microseconds * (integer_t)NSEC_PER_USEC)); 700 ptinfo->pth_system_time = ((basic_info.system_time.seconds * (integer_t)NSEC_PER_SEC) + (basic_info.system_time.microseconds * (integer_t)NSEC_PER_USEC)); 702 ptinfo->pth_cpu_usage = basic_info.cpu_usage; 703 ptinfo->pth_policy = basic_info.policy; 704 ptinfo->pth_run_state = basic_info.run_state; 705 ptinfo->pth_flags = basic_info [all...] |
H A D | task.c | 2166 task_basic_info_32_t basic_info; local 2176 basic_info = (task_basic_info_32_t)task_info_out; 2179 basic_info->virtual_size = (typeof(basic_info->virtual_size))map->size; 2185 basic_info->resident_size = pmap_resident_max(map->pmap); 2187 basic_info->resident_size = pmap_resident_count(map->pmap); 2189 basic_info->resident_size *= PAGE_SIZE; 2191 basic_info->policy = ((task != kernel_task)? 2193 basic_info->suspend_count = task->user_stop_count; 2196 basic_info 2211 task_basic_info_64_t basic_info; local 2249 mach_task_basic_info_t basic_info; local [all...] |
H A D | host.c | 160 register host_basic_info_t basic_info; local 169 basic_info = (host_basic_info_t) info; 171 basic_info->memory_size = machine_info.memory_size; 172 basic_info->max_cpus = machine_info.max_cpus; 173 basic_info->avail_cpus = processor_avail_count; 175 basic_info->cpu_type = slot_type(master_id); 176 basic_info->cpu_subtype = slot_subtype(master_id); 179 basic_info->cpu_threadtype = slot_threadtype(master_id); 180 basic_info->physical_cpu = machine_info.physical_cpu; 181 basic_info [all...] |
H A D | thread.c | 1122 register thread_basic_info_t basic_info; local 1127 basic_info = (thread_basic_info_t) thread_info_out; 1134 thread_read_times(thread, &basic_info->user_time, 1135 &basic_info->system_time); 1143 basic_info->sleep_time = 0; 1150 basic_info->cpu_usage = 0; 1153 basic_info->cpu_usage = (integer_t)(((uint64_t)thread->cpu_usage 1155 basic_info->cpu_usage = (basic_info->cpu_usage * 3) / 5; 1159 if (basic_info [all...] |
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | vm_pressure.c | 304 struct mach_task_basic_info basic_info; local 335 if( ( kr = task_info(t, MACH_TASK_BASIC_INFO, (task_info_t)(&basic_info), &size)) != KERN_SUCCESS ) { 345 resident_size = (basic_info.resident_size)/(1024 * 1024); 476 struct mach_task_basic_info basic_info; local 516 if( ( kr = task_info(t, MACH_TASK_BASIC_INFO, (task_info_t)(&basic_info), &size)) != KERN_SUCCESS ) { 528 resident_size = (basic_info.resident_size)/(MB);
|
H A D | tty.c | 2777 thread_basic_info_data_t basic_info; local 2840 (thread_info_internal(thread, THREAD_BASIC_INFO, (thread_info_t)&basic_info, &mmtn) != KERN_SUCCESS)) { 2847 switch(basic_info.run_state) {
|
/macosx-10.9.5/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_map.c | 12801 vm_page_info_basic_t basic_info; local 13004 basic_info = (vm_page_info_basic_t) info; 13005 basic_info->disposition = disposition; 13006 basic_info->ref_count = ref_count; 13007 basic_info->object_id = (vm_object_id_t) (uintptr_t) 13009 basic_info->offset = 13011 basic_info->depth = depth;
|
Completed in 386 milliseconds