Home
last modified time | relevance | path

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

/external/netperf/
Dnetcpu_ntperf.c99 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION StartInfo[MAXCPUS +1];
100 SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION EndInfo[MAXCPUS +1];
234 sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*(MAXCPUS +1)); in RestartPerfCntrs()
240 (PCHAR)&PerfCntrs->EndInfo[0], sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION)*MAXCPUS, in RestartPerfCntrs()
270 (MAXCPUS +1 - returnNumCPUs)); in RestartPerfCntrs()
280 PerfCntrs->EndInfo[MAXCPUS].IdleTime.QuadPart += PerfCntrs->EndInfo[i].IdleTime.QuadPart; in RestartPerfCntrs()
281 … PerfCntrs->EndInfo[MAXCPUS].KernelTime.QuadPart += PerfCntrs->EndInfo[i].KernelTime.QuadPart; in RestartPerfCntrs()
282 PerfCntrs->EndInfo[MAXCPUS].UserTime.QuadPart += PerfCntrs->EndInfo[i].UserTime.QuadPart; in RestartPerfCntrs()
283 PerfCntrs->EndInfo[MAXCPUS].DpcTime.QuadPart += PerfCntrs->EndInfo[i].DpcTime.QuadPart; in RestartPerfCntrs()
284 …PerfCntrs->EndInfo[MAXCPUS].InterruptTime.QuadPart += PerfCntrs->EndInfo[i].InterruptTime.QuadPart; in RestartPerfCntrs()
[all …]
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_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_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_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_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];
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.c43 static uint64_t lib_start_count[MAXCPUS];
44 static uint64_t lib_end_count[MAXCPUS];
Dnetserver.c862 if (shell_num_cpus > MAXCPUS) { in main()
865 MAXCPUS); in main()
Dnetlib.c213 float lib_local_per_cpu_util[MAXCPUS];
214 int lib_cpu_map[MAXCPUS];
688 if (temp_cpus > MAXCPUS) { in get_num_cpus()
692 MAXCPUS); in get_num_cpus()
1077 for (i = 1;((i < num) && (i < MAXCPUS)); i++) { in netlib_init_cpu_map()
1082 for (; i < MAXCPUS; i++) { in netlib_init_cpu_map()
1088 for (i = 0; i < MAXCPUS; i++) { in netlib_init_cpu_map()
1113 for (i = 0; i < MAXCPUS; i++) { in netlib_init()
Dnetlib.h25 #define MAXCPUS 256 /* how many CPU's can we track */ macro