Home
last modified time | relevance | path

Searched refs:smp_num_cpus (Results 1 – 4 of 4) sorted by relevance

/external/ltp/tools/top-LTP/proc/
Dsysinfo.c25 long smp_num_cpus; /* number of CPUs */ variable
146 h = (unsigned)((double)jiffies / seconds / smp_num_cpus); in old_Hertz_hack()
232 smp_num_cpus = sysconf(_SC_NPROCESSORS_CONF); // or _SC_NPROCESSORS_ONLN in init_libproc()
233 if (smp_num_cpus < 1) in init_libproc()
234 smp_num_cpus = 1; /* SPARC glibc is buggy */ in init_libproc()
Dksym.c33 #define smp_num_cpus 2
41 #define smp_num_cpus 2
49 #define smp_num_cpus 2
57 #define smp_num_cpus 2
Dsysinfo.h9 extern long smp_num_cpus; /* number of CPUs */
/external/ltp/tools/top-LTP/
Dtop.c1640 #define smp_num_cpus 4 macro
1658 Cpu_tot = smp_num_cpus; in before()