Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/top/dist/
H A Dutils.c431 long half_total; in percentages() local
457 half_total = total_change / 2l; in percentages()
460 *out++ = (int)((*diffs++ * 1000 + half_total) / total_change); in percentages()
/netbsd-src/external/bsd/top/dist/machine/
H A Dm_sunos4.c447 long half_total; local
523 half_total = total / 2l;
525 cpu_states[CP_SYS] = (int)((cp_diff[CP_SYS] * 1000 + half_total) /
527 cpu_states[XCP_SPIN] = (int)((sum * 1000 + half_total) / total);
H A Dm_netbsd.c1422 u_int64_t half_total; local
1444 half_total = total_change / 2;
1446 *out++ = (int)((*diffs++ * 1000 + half_total) / total_change);