Searched refs:ksp (Results 1 – 1 of 1) sorted by relevance
/libuv/src/unix/ |
H A D | sunos.c | 647 kstat_t *ksp; in uv_uptime() local 657 if (kstat_read(kc, ksp, NULL) == -1) { in uv_uptime() 672 kstat_t *ksp; in uv_cpu_info() local 697 if (kstat_read(kc, ksp, NULL) == -1) { in uv_cpu_info() 701 knp = kstat_data_lookup(ksp, (char*) "clock_MHz"); in uv_cpu_info() 707 knp = kstat_data_lookup(ksp, (char*) "brand"); in uv_cpu_info() 721 if (ksp == NULL) in uv_cpu_info() 724 if (kstat_read(kc, ksp, NULL) == -1) { in uv_cpu_info() 731 knp = kstat_data_lookup(ksp, (char*) "cpu_ticks_user"); in uv_cpu_info() 739 knp = kstat_data_lookup(ksp, (char*) "cpu_ticks_idle"); in uv_cpu_info() [all …]
|
Completed in 7 milliseconds