Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dsunos.c648 kstat_named_t *knp; in uv_uptime() local
661 *uptime = knp->value.ul / hz; in uv_uptime()
673 kstat_named_t *knp; in uv_cpu_info() local
702 assert(knp->data_type == KSTAT_DATA_INT32 || in uv_cpu_info()
703 knp->data_type == KSTAT_DATA_INT64); in uv_cpu_info()
704 cpu_info->speed = (knp->data_type == KSTAT_DATA_INT32) ? knp->value.i32 in uv_cpu_info()
708 assert(knp->data_type == KSTAT_DATA_STRING); in uv_cpu_info()
733 cpu_info->cpu_times.user = knp->value.ui64; in uv_cpu_info()
737 cpu_info->cpu_times.sys = knp->value.ui64; in uv_cpu_info()
741 cpu_info->cpu_times.idle = knp->value.ui64; in uv_cpu_info()
[all …]

Completed in 5 milliseconds