Home
last modified time | relevance | path

Searched refs:MAXCPUS (Results 1 – 11 of 11) sorted by relevance

/external/netperf/src/
Dnetcpu_ntperf.c79 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION StartInfo[MAXCPUS +1];
80 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION EndInfo[MAXCPUS +1];
214 sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*(MAXCPUS +1)); in RestartPerfCntrs()
220 (PCHAR)&PerfCntrs->EndInfo[0], sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*MAXCPUS, in RestartPerfCntrs()
250 (MAXCPUS +1 - returnNumCPUs)); in RestartPerfCntrs()
260 PerfCntrs->EndInfo[MAXCPUS].IdleTime.QuadPart += PerfCntrs->EndInfo[i].IdleTime.QuadPart; in RestartPerfCntrs()
261 … PerfCntrs->EndInfo[MAXCPUS].KernelTime.QuadPart += PerfCntrs->EndInfo[i].KernelTime.QuadPart; in RestartPerfCntrs()
262 PerfCntrs->EndInfo[MAXCPUS].UserTime.QuadPart += PerfCntrs->EndInfo[i].UserTime.QuadPart; in RestartPerfCntrs()
263 PerfCntrs->EndInfo[MAXCPUS].DpcTime.QuadPart += PerfCntrs->EndInfo[i].DpcTime.QuadPart; in RestartPerfCntrs()
264 …PerfCntrs->EndInfo[MAXCPUS].InterruptTime.QuadPart += PerfCntrs->EndInfo[i].InterruptTime.QuadPart; in RestartPerfCntrs()
[all …]
Dnetcpu_kstat10.c51 static cpu_time_counters_t starting_cpu_counters[MAXCPUS];
52 static cpu_time_counters_t ending_cpu_counters[MAXCPUS];
53 static cpu_time_counters_t delta_cpu_counters[MAXCPUS];
54 static cpu_time_counters_t corrected_cpu_counters[MAXCPUS];
94 (ksp != NULL) && (i < MAXCPUS); in cpu_util_init()
107 if (MAXCPUS == i) { in cpu_util_init()
112 MAXCPUS); in cpu_util_init()
Dnetcpu_looper.c67 static uint64_t lib_start_count[MAXCPUS];
68 static uint64_t lib_end_count[MAXCPUS];
73 static uint64_t *lib_idle_address[MAXCPUS];
75 static pid_t lib_idle_pids[MAXCPUS];
488 firstcnt[MAXCPUS], in calibrate_idle_rate()
489 secondcnt[MAXCPUS]; in calibrate_idle_rate()
Dnetcpu_kstat.c44 static uint64_t lib_start_count[MAXCPUS];
45 static uint64_t lib_end_count[MAXCPUS];
47 static kstat_t *cpu_ks[MAXCPUS]; /* the addresses that kstat will
253 firstcnt[MAXCPUS], in calibrate_idle_rate()
254 secondcnt[MAXCPUS]; in calibrate_idle_rate()
Dnetcpu_pstat.c37 static uint64_t lib_start_count[MAXCPUS];
38 static uint64_t lib_end_count[MAXCPUS];
102 firstcnt[MAXCPUS], in calibrate_idle_rate()
103 secondcnt[MAXCPUS]; in calibrate_idle_rate()
Dnetcpu_perfstat.c46 static uint64_t lib_start_count[MAXCPUS];
47 static uint64_t lib_end_count[MAXCPUS];
119 firstcnt[MAXCPUS], in calibrate_idle_rate()
120 secondcnt[MAXCPUS]; in calibrate_idle_rate()
Dnetcpu_pstatnew.c59 static cpu_time_counters_t starting_cpu_counters[MAXCPUS];
60 static cpu_time_counters_t ending_cpu_counters[MAXCPUS];
61 static cpu_time_counters_t delta_cpu_counters[MAXCPUS];
Dnetcpu_procstat.c61 static cpu_states_t lib_start_count[MAXCPUS];
62 static cpu_states_t lib_end_count[MAXCPUS];
Dnetlib.c213 float lib_local_per_cpu_util[MAXCPUS];
214 int lib_cpu_map[MAXCPUS];
909 if (temp_cpus > MAXCPUS) { in get_num_cpus()
914 MAXCPUS); in get_num_cpus()
1376 for (i = 1;((i < num) && (i < MAXCPUS)); i++) { in netlib_init_cpu_map()
1381 for (; i < MAXCPUS; i++) { in netlib_init_cpu_map()
1387 for (i = 0; i < MAXCPUS; i++) { in netlib_init_cpu_map()
1413 for (i = 0; i < MAXCPUS; i++) { in netlib_init()
3715 for (i = 0; i < MAXCPUS; i++) { in calc_cpu_util()
Dnetserver.c1322 if (shell_num_cpus > MAXCPUS) { in scan_netserver_args()
1326 MAXCPUS); in scan_netserver_args()
Dnetlib.h25 #define MAXCPUS 256 /* how many CPU's can we track */ macro