Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/top/dist/machine/
H A Dm_aix5.c206 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 Dm_aix43.c205 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 Dm_sunos4.c213 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 Dm_netbsd.c153 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 Dm_hpux10.c144 static long cp_diff[PST_MAX_CPUSTATES]; variable
348 percentages(PST_MAX_CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
H A Dm_svr4.c292 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 Dm_hpux7.c195 static long cp_diff[CPUSTATES]; variable
427 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
H A Dm_irix5.c312 static long cp_diff[CPUSTATES]; /* for cpu state percentages */ local
350 (void) percentages (CPUSTATES, cpu_states, cp_new, cp_old, cp_diff);
H A Dm_hpux8.c194 static long cp_diff[CPUSTATES]; variable
385 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
H A Dm_sco5.c182 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 Dm_macosx.c159 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 Dm_hpux9.c206 static long cp_diff[CPUSTATES]; variable
397 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff);
H A Dm_irixsgi.c418 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 Dm_linuxthr.c180 static long cp_diff[NCPUSTATES]; variable
418 percentages(4, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
H A Dm_svr5.c325 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 Dm_linux.c196 static long cp_diff[NCPUSTATES]; variable
504 percentages(NCPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
H A Dm_freebsd.c257 static long cp_diff[CPUSTATES]; variable
1056 total = percentages(CPUSTATES, cpu_states, cp_time, cp_old, cp_diff); in get_system_info()
H A Dm_sunos5.c1404 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()