/netbsd-src/external/bsd/top/dist/machine/ |
H A D | m_aix5.c | 206 static long cp_diff[CPU_NTIMES]; variable 354 cp_diff[i] = cp_time[i] - cp_old[i]; 355 total += cp_diff[i]; 370 cp_diff[i] = cp_time[i] - cp_old[i]; 371 total += cp_diff[i]; 375 cpu_states[i] = 1000 * cp_diff[i] / total;
|
H A D | m_aix43.c | 205 static long cp_diff[CPU_NTIMES]; variable 325 cp_diff[i] = cp_time[i] - cp_old[i]; in get_system_info() 326 total += cp_diff[i]; in get_system_info() 331 cpu_states[i] = cp_diff[i] / total; in get_system_info()
|
H A D | m_sunos4.c | 213 static long cp_diff[CPUSTATES]; variable 489 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 524 cp_diff[CP_SYS] -= sum; 525 cpu_states[CP_SYS] = (int)((cp_diff[CP_SYS] * 1000 + half_total) /
|
H A D | m_netbsd.c | 153 static u_int64_t *cp_diff; variable 352 cp_diff = malloc(sizeof(cp_diff[0]) * CPUSTATES * ncpu); 354 cp_diff == NULL) { 541 cp_diff + j); in get_system_info()
|
H A D | m_hpux10.c | 144 static long cp_diff[PST_MAX_CPUSTATES]; variable 348 percentages(PST_MAX_CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
|
H A D | m_svr4.c | 292 static long cp_diff[CPUSTATES]; /* for cpu state percentages */ in get_system_info() local 325 (void) percentages (CPUSTATES, cpu_states, sysinfo.cpu, cp_old, cp_diff); in get_system_info()
|
H A D | m_hpux7.c | 195 static long cp_diff[CPUSTATES]; variable 427 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
|
H A D | m_irix5.c | 312 static long cp_diff[CPUSTATES]; /* for cpu state percentages */ local 350 (void) percentages (CPUSTATES, cpu_states, cp_new, cp_old, cp_diff);
|
H A D | m_hpux8.c | 194 static long cp_diff[CPUSTATES]; variable 385 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
|
H A D | m_sco5.c | 182 static time_t cp_diff[CPUSTATES]; variable 426 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|
H A D | m_macosx.c | 159 static long cp_diff[CPU_STATE_MAX]; variable 684 total = percentages(CPU_STATE_MAX, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|
H A D | m_hpux9.c | 206 static long cp_diff[CPUSTATES]; variable 397 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
|
H A D | m_irixsgi.c | 418 static time_t cp_diff[CPU_STATES]; /* for cpu state percentages */ in get_system_info() local 452 (void) percentages(CPU_STATES, cpu_states, sysinfo.cpu, cp_old, cp_diff); in get_system_info()
|
H A D | m_linuxthr.c | 180 static long cp_diff[NCPUSTATES]; variable 418 percentages(4, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|
H A D | m_svr5.c | 325 static time_t cp_diff[CPUSTATES]; /* for cpu state percentages */ in get_system_info() local 334 (void) percentages (CPUSTATES, cpu_states, new_states, cp_old, cp_diff); in get_system_info()
|
H A D | m_linux.c | 196 static long cp_diff[NCPUSTATES]; variable 504 percentages(NCPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|
H A D | m_freebsd.c | 257 static long cp_diff[CPUSTATES]; variable 1056 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|
H A D | m_sunos5.c | 1404 static long cp_diff[CPUSTATES]; in get_system_info() local 1443 (void) percentages (CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
|