Home
last modified time | relevance | path

Searched refs:sppi (Results 1 – 1 of 1) sorted by relevance

/third_party/libuv/src/win/
Dutil.c558 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION* sppi; in uv_cpu_info() local
569 sppi = NULL; in uv_cpu_info()
582 sppi_size = cpu_count * sizeof(*sppi); in uv_cpu_info()
583 sppi = uv__malloc(sppi_size); in uv_cpu_info()
584 if (sppi == NULL) { in uv_cpu_info()
590 sppi, in uv_cpu_info()
648 cpu_info->cpu_times.user = sppi[i].UserTime.QuadPart / 10000; in uv_cpu_info()
649 cpu_info->cpu_times.sys = (sppi[i].KernelTime.QuadPart - in uv_cpu_info()
650 sppi[i].IdleTime.QuadPart) / 10000; in uv_cpu_info()
651 cpu_info->cpu_times.idle = sppi[i].IdleTime.QuadPart / 10000; in uv_cpu_info()
[all …]