Searched refs:MAX_CPUS (Results 1 – 8 of 8) sorted by relevance
7 #define MAX_CPUS 256 macro23 struct rw_thread_info *rw_ti[MAX_CPUS];
36 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()37 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()221 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
44 MAX_CPUS = 256 variable72 last_sec_cpu = [0] * MAX_CPUS73 last_usec_cpu = [0] * MAX_CPUS96 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS))516 cpu_mask = zeros((MAX_CPUS,), dtype=int)548 if int(p) < MAX_CPUS :551 for i in range (0, MAX_CPUS):
77 #define MAX_CPUS 64 macro79 int cpus_to_pin[MAX_CPUS];81 pthread_t cpu_threads[MAX_CPUS];563 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()593 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
65 #define MAX_CPUS 32 macro73 char cpumask[100+6*MAX_CPUS];
49 #define MAX_CPUS 4096 macro165 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);191 u32 curr_pid[MAX_CPUS];192 struct thread *curr_thread[MAX_CPUS];222 u64 cpu_last_switched[MAX_CPUS];846 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()1115 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()1186 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()1538 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()1544 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
306 #define MAX_CPUS 4096 macro308 static u64 cpus_cstate_start_times[MAX_CPUS];309 static int cpus_cstate_state[MAX_CPUS];310 static u64 cpus_pstate_start_times[MAX_CPUS];311 static u64 cpus_pstate_state[MAX_CPUS];
47 #define MAX_CPUS 4096 macro1337 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()