Lines Matching refs:t
540 int t; in parse_setup_cpu_list() local
548 t = 0; in parse_setup_cpu_list()
627 if (t >= g->p.nr_tasks) { in parse_setup_cpu_list()
631 td = g->threads + t; in parse_setup_cpu_list()
633 if (t) in parse_setup_cpu_list()
651 t++; in parse_setup_cpu_list()
659 if (t < g->p.nr_tasks) in parse_setup_cpu_list()
660 printf("# NOTE: %d tasks bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_cpu_list()
688 int t; in parse_setup_node_list() local
696 t = 0; in parse_setup_node_list()
754 if (t >= g->p.nr_tasks || !node_has_cpus(bind_node)) { in parse_setup_node_list()
758 td = g->threads + t; in parse_setup_node_list()
760 if (!t) in parse_setup_node_list()
766 t++; in parse_setup_node_list()
774 if (t < g->p.nr_tasks) in parse_setup_node_list()
775 printf("# NOTE: %d tasks mem-bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_node_list()
928 int n, t; in count_process_nodes() local
935 for (t = 0; t < g->p.nr_threads; t++) { in count_process_nodes()
940 task_nr = process_nr*g->p.nr_threads + t; in count_process_nodes()
971 int t, p; in count_node_processes() local
974 for (t = 0; t < g->p.nr_threads; t++) { in count_node_processes()
979 task_nr = p*g->p.nr_threads + t; in count_node_processes()
1035 int t; in calc_convergence() local
1048 for (t = 0; t < g->p.nr_tasks; t++) { in calc_convergence()
1049 struct thread_data *td = g->threads + t; in calc_convergence()
1358 int t; in worker_process() local
1381 for (t = 0; t < g->p.nr_threads; t++) { in worker_process()
1382 task_nr = process_nr*g->p.nr_threads + t; in worker_process()
1387 td->thread_nr = t; in worker_process()
1393 ret = pthread_create(pthreads + t, NULL, worker_thread, td); in worker_process()
1397 for (t = 0; t < g->p.nr_threads; t++) { in worker_process()
1398 ret = pthread_join(pthreads[t], NULL); in worker_process()
1429 int t; in init_thread_data() local
1433 for (t = 0; t < g->p.nr_tasks; t++) { in init_thread_data()
1434 struct thread_data *td = g->threads + t; in init_thread_data()
1453 int t; in deinit_thread_data() local
1456 for (t = 0; t < g->p.nr_tasks; t++) { in deinit_thread_data()
1457 struct thread_data *td = g->threads + t; in deinit_thread_data()
1574 int i, t, p; in __bench_numa() local
1661 for (t = 0; t < g->p.nr_tasks; t++) { in __bench_numa()
1662 u64 thread_runtime_ns = g->threads[t].runtime_ns; in __bench_numa()
1722 for (t = 0; t < g->p.nr_threads; t++) { in __bench_numa()
1724 td = g->threads + p*g->p.nr_threads + t; in __bench_numa()
1725 snprintf(tname, sizeof(tname), "process%d:thread%d", p, t); in __bench_numa()