Searched refs:nr_tasks (Results 1 – 2 of 2) sorted by relevance
/tools/perf/bench/ |
D | numa.c | 112 int nr_tasks; member 493 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_cpu_list() 569 if (t >= g->p.nr_tasks) { in parse_setup_cpu_list() 596 if (t < g->p.nr_tasks) in parse_setup_cpu_list() 597 printf("# NOTE: %d tasks bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_cpu_list() 630 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_node_list() 691 if (t >= g->p.nr_tasks || !node_has_cpus(bind_node)) { in parse_setup_node_list() 711 if (t < g->p.nr_tasks) in parse_setup_node_list() 712 printf("# NOTE: %d tasks mem-bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_node_list() 982 for (t = 0; t < g->p.nr_tasks; t++) { in calc_convergence() [all …]
|
/tools/perf/ |
D | builtin-sched.c | 128 unsigned long nr_tasks; member 354 task->nr = sched->nr_tasks; in register_pid() 363 sched->nr_tasks++; in register_pid() 364 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid() 369 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid() 380 for (i = 0; i < sched->nr_tasks; i++) { in print_task_traces() 392 for (i = 0; i < sched->nr_tasks; i++) { in add_cross_task_wakeups() 395 if (j == sched->nr_tasks) in add_cross_task_wakeups() 464 limit.rlim_cur += sched->nr_tasks - cur_task; in self_open_counters() 562 for (i = 0; i < sched->nr_tasks; i++) { in create_tasks() [all …]
|