| /src/external/bsd/top/dist/machine/ |
| m_sunos4.c | 232 int cpu_states[5]; variable 489 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 525 cpu_states[CP_SYS] = (int)((cp_diff[CP_SYS] * 1000 + half_total) / 527 cpu_states[XCP_SPIN] = (int)((sum * 1000 + half_total) / total); 560 si->cpustates = cpu_states;
|
| m_hpux7.c | 209 int cpu_states[9]; variable 212 int cpu_states[5]; variable 427 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 447 si->cpustates = cpu_states;
|
| m_aix43.c | 139 int cpu_states[4]; variable 331 cpu_states[i] = cp_diff[i] / total; 346 si->cpustates = cpu_states;
|
| m_hpux10.c | 155 int cpu_states[PST_MAX_CPUSTATES]; variable 348 percentages(PST_MAX_CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 349 si->cpustates = cpu_states;
|
| m_hpux8.c | 207 int cpu_states[9]; variable 385 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 405 si->cpustates = cpu_states;
|
| m_hpux9.c | 219 int cpu_states[9]; variable 397 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 417 si->cpustates = cpu_states;
|
| m_irix5.c | 130 int cpu_states[CPUSTATES]; variable 350 (void) percentages (CPUSTATES, cpu_states, cp_new, cp_old, cp_diff); 352 si->cpustates = cpu_states;
|
| m_macosx.c | 160 static int cpu_states[CPU_STATE_MAX]; variable 684 total = percentages(CPU_STATE_MAX, cpu_states, cp_time, cp_old, cp_diff); 727 si->cpustates = cpu_states;
|
| m_svr4.c | 169 int cpu_states[CPUSTATES]; variable 325 (void) percentages (CPUSTATES, cpu_states, sysinfo.cpu, cp_old, cp_diff); 350 si->cpustates = cpu_states;
|
| m_netbsd.c | 166 int *cpu_states; variable 350 cpu_states = malloc(sizeof(cpu_states[0]) * CPUSTATES * ncpu); 353 if (cpu_states == NULL || cp_time == NULL || cp_old == NULL || 540 percentages64(CPUSTATES, cpu_states + j, cp_time + j, cp_old + j, 601 si->cpustates = cpu_states;
|
| m_aix5.c | 143 int cpu_states[CPU_NTIMES]; variable 375 cpu_states[i] = 1000 * cp_diff[i] / total; 408 si->cpustates = cpu_states;
|
| m_irixsgi.c | 154 #ifndef CPU_STATES /* defined only in 6.4 and up */ 155 # define CPU_STATES 6 158 int cpu_states[CPU_STATES]; variable 417 static time_t cp_old [CPU_STATES]; 418 static time_t cp_diff[CPU_STATES]; /* for cpu state percentages */ 452 (void) percentages(CPU_STATES, cpu_states, sysinfo.cpu, cp_old, cp_diff); 454 si->cpustates = cpu_states;
|
| m_sco5.c | 185 int cpu_states[CPUSTATES]; variable 426 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 460 si->cpustates = cpu_states;
|
| m_decosf1.c | 197 int cpu_states[5]; variable 429 si->cpustates = cpu_states;
|
| m_linux.c | 225 static int cpu_states[NCPUSTATES]; variable 504 percentages(NCPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 672 info->cpustates = cpu_states;
|
| m_linuxthr.c | 199 static int cpu_states[NCPUSTATES]; variable 418 percentages(4, cpu_states, cp_time, cp_old, cp_diff); 525 info->cpustates = cpu_states;
|
| m_svr5.c | 170 int cpu_states[CPUSTATES]; variable 334 (void) percentages (CPUSTATES, cpu_states, new_states, cp_old, cp_diff); 367 si->cpustates = cpu_states;
|
| m_freebsd.c | 270 int cpu_states[CPUSTATES]; variable 1056 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 1134 si->cpustates = cpu_states;
|
| m_sunos5.c | 281 int cpu_states[CPUSTATES]; variable 1443 (void) percentages (CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); 1482 si->cpustates = cpu_states;
|