Searched refs:cpu_count (Results 1 – 3 of 3) sorted by relevance
67 int cpu_count; in setup_workers() local68 uv_cpu_info(&info, &cpu_count); in setup_workers()69 uv_free_cpu_info(info, cpu_count); in setup_workers()71 child_worker_count = cpu_count; in setup_workers()73 workers = calloc(cpu_count, sizeof(struct child_worker)); in setup_workers()74 while (cpu_count--) { in setup_workers()75 struct child_worker *worker = &workers[cpu_count]; in setup_workers()
158 *cpu_infos = uv__calloc(system.cpu_count, sizeof(**cpu_infos)); in uv_cpu_info()164 for (i = 0; i < (int)system.cpu_count; i++) { in uv_cpu_info()169 *count = system.cpu_count; in uv_cpu_info()
534 DWORD cpu_count, i; in uv_cpu_info() local541 cpu_count = 0; in uv_cpu_info()547 cpu_count = system_info.dwNumberOfProcessors; in uv_cpu_info()549 cpu_infos = uv__calloc(cpu_count, sizeof *cpu_infos); in uv_cpu_info()555 sppi_size = cpu_count * sizeof(*sppi); in uv_cpu_info()573 for (i = 0; i < cpu_count; i++) { in uv_cpu_info()635 *cpu_count_ptr = cpu_count; in uv_cpu_info()643 for (i = 0; i < cpu_count; i++) in uv_cpu_info()
Completed in 10 milliseconds