Home
last modified time | relevance | path

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

/third_party/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 in uv_cpu_info()
[all...]
/third_party/node/deps/uv/src/unix/
H A Daix.c393 perfstat_cpu_total_t ps_total; in uv_loadavg() local
394 int result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_loadavg()
399 avg[0] = ps_total.loadavg[0] / (double)(1 << SBITS); in uv_loadavg()
400 avg[1] = ps_total.loadavg[1] / (double)(1 << SBITS); in uv_loadavg()
401 avg[2] = ps_total.loadavg[2] / (double)(1 << SBITS); in uv_loadavg()
1046 perfstat_cpu_total_t ps_total; in uv_cpu_info() local
1051 result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_cpu_info()
1084 cpu_info->speed = (int)(ps_total in uv_cpu_info()
[all...]

Completed in 3 milliseconds