Lines Matching refs:cpu_info
234 uv_cpu_info_t* cpu_info; in uv_cpu_info() local
256 cpu_info = *cpu_infos; in uv_cpu_info()
259 cpu_info->speed = *(int*)(info.siv1v2si22v1.si22v1cpucapability); in uv_cpu_info()
260 cpu_info->model = uv__malloc(ZOSCPU_MODEL_LENGTH + 1); in uv_cpu_info()
261 if (cpu_info->model == NULL) { in uv_cpu_info()
265 __get_cpu_model(cpu_info->model, ZOSCPU_MODEL_LENGTH + 1); in uv_cpu_info()
266 cpu_info->cpu_times.user = cpu_usage_avg; in uv_cpu_info()
268 cpu_info->cpu_times.sys = 0; in uv_cpu_info()
269 cpu_info->cpu_times.idle = 0; in uv_cpu_info()
270 cpu_info->cpu_times.irq = 0; in uv_cpu_info()
271 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
272 ++cpu_info; in uv_cpu_info()