Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Ddarwin.c225 cpu_info->cpu_times.user = (uint64_t)(info[i].cpu_ticks[0]) * multiplier; in uv_cpu_info()
226 cpu_info->cpu_times.nice = (uint64_t)(info[i].cpu_ticks[3]) * multiplier; in uv_cpu_info()
227 cpu_info->cpu_times.sys = (uint64_t)(info[i].cpu_ticks[1]) * multiplier; in uv_cpu_info()
228 cpu_info->cpu_times.idle = (uint64_t)(info[i].cpu_ticks[2]) * multiplier; in uv_cpu_info()
229 cpu_info->cpu_times.irq = 0; in uv_cpu_info()
H A Dfreebsd.c260 cpu_info->cpu_times.user = (uint64_t)(cp_times[CP_USER+cur]) * multiplier; in uv_cpu_info()
261 cpu_info->cpu_times.nice = (uint64_t)(cp_times[CP_NICE+cur]) * multiplier; in uv_cpu_info()
262 cpu_info->cpu_times.sys = (uint64_t)(cp_times[CP_SYS+cur]) * multiplier; in uv_cpu_info()
263 cpu_info->cpu_times.idle = (uint64_t)(cp_times[CP_IDLE+cur]) * multiplier; in uv_cpu_info()
264 cpu_info->cpu_times.irq = (uint64_t)(cp_times[CP_INTR+cur]) * multiplier; in uv_cpu_info()
H A Dopenbsd.c225 cpu_info->cpu_times.user = (uint64_t)(info[CP_USER]) * multiplier; in uv_cpu_info()
226 cpu_info->cpu_times.nice = (uint64_t)(info[CP_NICE]) * multiplier; in uv_cpu_info()
227 cpu_info->cpu_times.sys = (uint64_t)(info[CP_SYS]) * multiplier; in uv_cpu_info()
228 cpu_info->cpu_times.idle = (uint64_t)(info[CP_IDLE]) * multiplier; in uv_cpu_info()
229 cpu_info->cpu_times.irq = (uint64_t)(info[CP_INTR]) * multiplier; in uv_cpu_info()
H A Dnetbsd.c230 cpu_info->cpu_times.user = (uint64_t)(cp_times[CP_USER+cur]) * multiplier; in uv_cpu_info()
231 cpu_info->cpu_times.nice = (uint64_t)(cp_times[CP_NICE+cur]) * multiplier; in uv_cpu_info()
232 cpu_info->cpu_times.sys = (uint64_t)(cp_times[CP_SYS+cur]) * multiplier; in uv_cpu_info()
233 cpu_info->cpu_times.idle = (uint64_t)(cp_times[CP_IDLE+cur]) * multiplier; in uv_cpu_info()
234 cpu_info->cpu_times.irq = (uint64_t)(cp_times[CP_INTR+cur]) * multiplier; in uv_cpu_info()
H A Dsunos.c725 cpu_info->cpu_times.user = 0; in uv_cpu_info()
726 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
727 cpu_info->cpu_times.sys = 0; in uv_cpu_info()
728 cpu_info->cpu_times.idle = 0; in uv_cpu_info()
729 cpu_info->cpu_times.irq = 0; 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()
745 cpu_info->cpu_times.irq = knp->value.ui64; in uv_cpu_info()
746 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
H A Dibmi.c305 cpu_info->cpu_times.user = 0; in uv_cpu_info()
306 cpu_info->cpu_times.sys = 0; in uv_cpu_info()
307 cpu_info->cpu_times.idle = 0; in uv_cpu_info()
308 cpu_info->cpu_times.irq = 0; in uv_cpu_info()
309 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
H A Dos390.c266 cpu_info->cpu_times.user = cpu_usage_avg; in uv_cpu_info()
268 cpu_info->cpu_times.sys = 0; in uv_cpu_info()
269 cpu_info->cpu_times.idle = 0; in uv_cpu_info()
270 cpu_info->cpu_times.irq = 0; in uv_cpu_info()
271 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
H A Daix.c1102 cpu_info->cpu_times.user = ps_cpus[idx].user; in uv_cpu_info()
1103 cpu_info->cpu_times.sys = ps_cpus[idx].sys; in uv_cpu_info()
1104 cpu_info->cpu_times.idle = ps_cpus[idx].idle; in uv_cpu_info()
1105 cpu_info->cpu_times.irq = ps_cpus[idx].wait; in uv_cpu_info()
1106 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
H A Dlinux.c1912 .cpu_times = (struct uv_cpu_times_s) { in uv_cpu_info()
/libuv/test/
H A Dtest-platform-output.c142 printf(" times.sys: %llu\n", (unsigned long long) cpus[i].cpu_times.sys); in TEST_IMPL()
144 (unsigned long long) cpus[i].cpu_times.user); in TEST_IMPL()
146 (unsigned long long) cpus[i].cpu_times.idle); in TEST_IMPL()
147 printf(" times.irq: %llu\n", (unsigned long long) cpus[i].cpu_times.irq); in TEST_IMPL()
149 (unsigned long long) cpus[i].cpu_times.nice); in TEST_IMPL()
/libuv/src/win/
H A Dutil.c621 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()
624 cpu_info->cpu_times.idle = sppi[i].IdleTime.QuadPart / 10000; in uv_cpu_info()
625 cpu_info->cpu_times.irq = sppi[i].InterruptTime.QuadPart / 10000; in uv_cpu_info()
626 cpu_info->cpu_times.nice = 0; in uv_cpu_info()
/libuv/include/
H A Duv.h1196 struct uv_cpu_times_s cpu_times; member
/libuv/docs/src/
H A Dmisc.rst165 } cpu_times;
/libuv/
H A DChangeLog1533 * linux: make cpu_times consistently be milliseconds (James Ross)

Completed in 49 milliseconds