Searched refs:nr_tasks (Results 1 – 2 of 2) sorted by relevance
/tools/perf/bench/ |
D | numa.c | 118 int nr_tasks; member 517 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_cpu_list() 593 if (t >= g->p.nr_tasks) { in parse_setup_cpu_list() 620 if (t < g->p.nr_tasks) in parse_setup_cpu_list() 621 printf("# NOTE: %d tasks bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_cpu_list() 654 dprintf("g->p.nr_tasks: %d\n", g->p.nr_tasks); in parse_setup_node_list() 715 if (t >= g->p.nr_tasks || !node_has_cpus(bind_node)) { in parse_setup_node_list() 735 if (t < g->p.nr_tasks) in parse_setup_node_list() 736 printf("# NOTE: %d tasks mem-bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_node_list() 1003 for (t = 0; t < g->p.nr_tasks; t++) { in calc_convergence() [all …]
|
/tools/perf/ |
D | builtin-sched.c | 183 unsigned long nr_tasks; member 471 task->nr = sched->nr_tasks; in register_pid() 480 sched->nr_tasks++; in register_pid() 481 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid() 486 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid() 497 for (i = 0; i < sched->nr_tasks; i++) { in print_task_traces() 509 for (i = 0; i < sched->nr_tasks; i++) { in add_cross_task_wakeups() 512 if (j == sched->nr_tasks) in add_cross_task_wakeups() 581 limit.rlim_cur += sched->nr_tasks - cur_task; in self_open_counters() 679 for (i = 0; i < sched->nr_tasks; i++) { in create_tasks() [all …]
|