Searched refs:num_tasks (Results 1 – 11 of 11) sorted by relevance
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_test02.c | 106 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()
|
D | cpuctl_test01.c | 102 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()
|
D | cpuctl_test03.c | 101 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()
|
D | cpuctl_def_task01.c | 102 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()
|
D | cpuctl_def_task03.c | 99 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()
|
D | cpuctl_def_task04.c | 101 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()
|
D | cpuctl_test04.c | 102 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()
|
D | cpuctl_def_task02.c | 103 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/ |
D | timed_forkbomb.c | 33 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/ |
D | lp_state_cs.c | 1414 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/ |
D | mark-compact.cc | 5676 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()
|