Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Daix.c409 perfstat_cpu_total_t ps_total; in uv_loadavg() local
410 int result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_loadavg()
415 avg[0] = ps_total.loadavg[0] / (double)(1 << SBITS); in uv_loadavg()
416 avg[1] = ps_total.loadavg[1] / (double)(1 << SBITS); in uv_loadavg()
417 avg[2] = ps_total.loadavg[2] / (double)(1 << SBITS); in uv_loadavg()
1062 perfstat_cpu_total_t ps_total; in uv_cpu_info() local
1067 result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_cpu_info()
1100 cpu_info->speed = (int)(ps_total.processorHZ / 1000000); in uv_cpu_info()
1101 cpu_info->model = uv__strdup(ps_total.description); in uv_cpu_info()

Completed in 6 milliseconds