Home
last modified time | relevance | path

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

/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/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_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_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_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_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()
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()
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_task_queues_unittests.cc183 std::atomic_int num_tasks[num_queues * 3]; in TEST() local
188 num_tasks[i] = 0; in TEST()
205 num_tasks[cur_q - base_queue_id] += cur_num_tasks; in TEST()
221 int num_added = num_tasks[i]; in TEST()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.c832 thiz->num_tasks = thiz->param.AsyncDepth; in gst_msdkenc_init_encoder()
833 thiz->tasks = g_new0 (MsdkEncTask, thiz->num_tasks); in gst_msdkenc_init_encoder()
834 for (i = 0; i < thiz->num_tasks; i++) { in gst_msdkenc_init_encoder()
888 for (i = 0; i < thiz->num_tasks; i++) { in gst_msdkenc_close_encoder()
1008 guint size = thiz->num_tasks; in gst_msdkenc_get_free_task()
1186 thiz->next_task = ((task - thiz->tasks) + 1) % thiz->num_tasks; in gst_msdkenc_encode_frame()
1199 return thiz->num_tasks; in gst_msdkenc_maximum_delayed_frames()
1258 thiz->next_task = ((task - thiz->tasks) + 1) % thiz->num_tasks; in gst_msdkenc_flush_frames()
1265 for (i = 0; i < thiz->num_tasks; i++) { in gst_msdkenc_flush_frames()
1267 t = (t + 1) % thiz->num_tasks; in gst_msdkenc_flush_frames()
Dgstmsdkenc.h106 guint num_tasks; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_cs.c1384 int num_tasks = job_info.grid_size[2] * job_info.grid_size[1] * job_info.grid_size[0]; in llvmpipe_launch_grid() local
1385 if (num_tasks) { in llvmpipe_launch_grid()
1388 task = lp_cs_tpool_queue_task(screen->cs_tpool, cs_exec_fn, &job_info, num_tasks); in llvmpipe_launch_grid()
1393 …llvmpipe->pipeline_statistics.cs_invocations += num_tasks * info->block[0] * info->block[1] * info… in llvmpipe_launch_grid()