Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/bench/
Dnuma.c103 int nr_tasks; member
441 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_cpu_list()
513 if (t >= g->p.nr_tasks) { in parse_setup_cpu_list()
540 if (t < g->p.nr_tasks) in parse_setup_cpu_list()
541 printf("# NOTE: %d tasks bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_cpu_list()
573 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_node_list()
630 if (t >= g->p.nr_tasks) { in parse_setup_node_list()
650 if (t < g->p.nr_tasks) in parse_setup_node_list()
651 printf("# NOTE: %d tasks mem-bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_node_list()
912 for (t = 0; t < g->p.nr_tasks; t++) { in calc_convergence()
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-sched.c125 unsigned long nr_tasks; member
339 task->nr = sched->nr_tasks; in register_pid()
348 sched->nr_tasks++; in register_pid()
349 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_task *)); in register_pid()
354 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid()
365 for (i = 0; i < sched->nr_tasks; i++) { in print_task_traces()
377 for (i = 0; i < sched->nr_tasks; i++) { in add_cross_task_wakeups()
380 if (j == sched->nr_tasks) in add_cross_task_wakeups()
523 for (i = 0; i < sched->nr_tasks; i++) { in create_tasks()
547 for (i = 0; i < sched->nr_tasks; i++) { in wait_for_tasks()
[all …]