Home
last modified time | relevance | path

Searched refs:task_fn (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/distribute/python/
Dmulti_worker_test_base.py392 def _task_thread(self, task_fn, tf_config, *args, **kwargs): argument
395 task_fn(*args, **kwargs)
397 def _run_task_in_thread(self, task_fn, cluster_spec, task_type, task_id, argument
413 args=(task_fn, tf_config) + args,
418 def run_multiple_tasks_in_threads(self, task_fn, cluster_spec, *args, argument
425 t = self._run_task_in_thread(task_fn, cluster_spec, task_type, task_id,
/external/ltp/testcases/kernel/sched/eas/
Deas_one_small_task.c28 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
103 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_one_big_task.c30 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
120 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_two_big_three_small.c28 static void *task_fn(void *arg) in task_fn() function
126 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, &task_tids[i]); in run()
Deas_big_to_small.c30 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Deas_small_to_big.c31 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
155 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()
Dsched_cfs_prio.c36 static void *task_fn(void *arg) in task_fn() function
191 SAFE_PTHREAD_CREATE(&tasks[i], NULL, task_fn, in run()
Deas_small_big_toggle.c32 static void *task_fn(void *arg LTP_ATTRIBUTE_UNUSED) in task_fn() function
213 SAFE_PTHREAD_CREATE(&task_thread, NULL, task_fn, NULL); in run()