Home
last modified time | relevance | path

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

/tools/perf/util/
Dcpumap.c545 int last_cpu = cpu_map__cpu(map, map->nr - 1); in cpu_map__snprint_mask() local
550 bitmap = zalloc(last_cpu / 8 + 1); in cpu_map__snprint_mask()
561 for (cpu = last_cpu / 4 * 4; cpu >= 0; cpu -= 4) { in cpu_map__snprint_mask()
/tools/perf/
Dbuiltin-ftrace.c304 int last_cpu; in set_tracing_cpumask() local
306 last_cpu = cpu_map__cpu(cpumap, cpumap->nr - 1); in set_tracing_cpumask()
307 mask_size = last_cpu / 4 + 2; /* one more byte for EOS */ in set_tracing_cpumask()
308 mask_size += last_cpu / 32; /* ',' is needed for every 32th cpus */ in set_tracing_cpumask()
/tools/virtio/
Dvringh_test.c144 unsigned int first_cpu, last_cpu; in parallel_test() local
168 find_cpus(&first_cpu, &last_cpu); in parallel_test()
169 printf("Using CPUS %u and %u\n", first_cpu, last_cpu); in parallel_test()