Lines Matching refs:sppi
531 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION* sppi; in uv_cpu_info() local
542 sppi = NULL; in uv_cpu_info()
555 sppi_size = cpu_count * sizeof(*sppi); in uv_cpu_info()
556 sppi = uv__malloc(sppi_size); in uv_cpu_info()
557 if (sppi == NULL) { in uv_cpu_info()
563 sppi, in uv_cpu_info()
621 cpu_info->cpu_times.user = sppi[i].UserTime.QuadPart / 10000; in uv_cpu_info()
622 cpu_info->cpu_times.sys = (sppi[i].KernelTime.QuadPart - in uv_cpu_info()
623 sppi[i].IdleTime.QuadPart) / 10000; in uv_cpu_info()
624 cpu_info->cpu_times.idle = sppi[i].IdleTime.QuadPart / 10000; in uv_cpu_info()
625 cpu_info->cpu_times.irq = sppi[i].InterruptTime.QuadPart / 10000; in uv_cpu_info()
633 uv__free(sppi); in uv_cpu_info()
648 uv__free(sppi); in uv_cpu_info()