Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 – 8 of 8) sorted by relevance

/tools/virtio/virtio-trace/
Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
Dtrace-agent.c36 } 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()
/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py44 MAX_CPUS = 256 variable
72 last_sec_cpu = [0] * MAX_CPUS
73 last_usec_cpu = [0] * MAX_CPUS
96 … 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):
/tools/testing/selftests/mqueue/
Dmq_perf_tests.c77 #define MAX_CPUS 64 macro
79 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()
/tools/accounting/
Dgetdelays.c65 #define MAX_CPUS 32 macro
73 char cpumask[100+6*MAX_CPUS];
/tools/perf/
Dbuiltin-sched.c49 #define MAX_CPUS 4096 macro
165 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()
Dbuiltin-timechart.c306 #define MAX_CPUS 4096 macro
308 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];
/tools/perf/util/
Ddata-convert-bt.c47 #define MAX_CPUS 4096 macro
1337 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()