Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dutil.c531 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()
633 uv__free(sppi); in uv_cpu_info()
[all …]

Completed in 6 milliseconds