Home
last modified time | relevance | path

Searched refs:num_tasks (Results 1 – 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_test02.c106 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
180 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
184 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
263 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
269 num_tasks); in main()
Dcpuctl_test01.c102 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
168 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
172 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
242 num_tasks); in main()
Dcpuctl_test03.c101 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
175 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
179 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_def_task01.c102 unsigned int fmyshares, num_tasks; in main() local
165 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
169 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_def_task03.c99 unsigned int fmyshares, num_tasks; in main() local
172 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
176 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_def_task04.c101 unsigned int fmyshares, num_tasks; in main() local
182 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
186 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_test04.c102 unsigned int fmyshares, num_tasks; /* f-> from file. num_tasks is tasks in this group */ in main() local
186 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
190 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
Dcpuctl_def_task02.c103 unsigned int fmyshares, num_tasks; in main() local
176 if ((read_file(mytaskfile, GET_TASKS, &num_tasks)) < 0) in main()
180 exp_cpu_time = (double)(fmyshares * 100) / (total_shares * num_tasks); in main()
/third_party/ltp/testcases/kernel/controllers/freezer/
Dtimed_forkbomb.c33 unsigned int duration = 1, num_tasks = 0; in main() local
76 num_tasks++; in main()
83 printf("Forked %d tasks\n", num_tasks); in main()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1414 int num_tasks = job_info.grid_size[2] * job_info.grid_size[1] * job_info.grid_size[0]; in llvmpipe_launch_grid() local
1415 if (num_tasks) { in llvmpipe_launch_grid()
1418 task = lp_cs_tpool_queue_task(screen->cs_tpool, cs_exec_fn, &job_info, num_tasks); in llvmpipe_launch_grid()
1424 …llvmpipe->pipeline_statistics.cs_invocations += num_tasks * info->block[0] * info->block[1] * info… in llvmpipe_launch_grid()
/third_party/node/deps/v8/src/heap/
Dmark-compact.cc5676 size_t num_tasks = in GetMaxConcurrency() local
5679 num_tasks = std::min<size_t>(1, num_tasks); in GetMaxConcurrency()
5681 return std::min<size_t>(num_tasks, in GetMaxConcurrency()