Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/bench/
Dnuma.c234 int cpus_per_node = g->p.nr_cpus/g->p.nr_nodes; in bind_to_node() local
239 BUG_ON(cpus_per_node*g->p.nr_nodes != g->p.nr_cpus); in bind_to_node()
240 BUG_ON(!cpus_per_node); in bind_to_node()
251 int cpu_start = (target_node + 0) * cpus_per_node; in bind_to_node()
252 int cpu_stop = (target_node + 1) * cpus_per_node; in bind_to_node()