/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ThreadPool.h | 38 /// It is possible to reuse one thread pool for different groups of tasks 39 /// by grouping tasks using ThreadPoolTaskGroup. All tasks are processed using 41 /// tasks to finish. 43 /// It is also possible for worker threads to submit new tasks and wait for 46 /// available threads are used up by tasks waiting for a task that has no thread 56 /// Destroying the pool will drain the pending tasks and wait. The current 57 /// thread may participate in the execution of the pending tasks. 61 /// It is an error to try to add new tasks while blocking on this call. 68 /// worker thread, the call may process pending tasks while waiting in order 136 /// It is an error to try to add new tasks while blocking on this call. [all …]
|
H A D | Threading.h | 155 /// Returns a thread strategy for tasks requiring significant memory or other 191 /// Returns an optimal thread strategy to execute specified amount of tasks. 193 /// occasionaly have an unexpectedly small amount of tasks. 242 /// for long-running tasks that are not time critical; more energy- 247 /// foreground tasks significantly. This is a good default for long- 248 /// running, latency-insensitive tasks to make sure cpu is not hogged
|
H A D | Parallel.h | 98 // Tasks marked with \p Sequential will be executed 160 // the number of spawn() calls. We'll create up to 1024 tasks here. 170 // Limit the number of tasks to MaxTasksPerGroup to limit job scheduling in parallel_transform_reduce() 179 // remaining after dividing them equally amongst tasks are distributed as in parallel_transform_reduce() 180 // one extra input over the first tasks. in parallel_transform_reduce() 199 // Do a final reduction. There are at most 1024 tasks, so this only adds in parallel_transform_reduce()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ThreadPool.cpp | 25 // A note on thread groups: Tasks are by default in no group (represented 26 // by nullptr ThreadPoolTaskGroup pointer in the Tasks queue) and functionality 27 // here normally works on all tasks regardless of their group (functions 29 // A task in a group has a pointer to that ThreadPoolTaskGroup in the Tasks 30 // queue, and functions called to work only on tasks from one group take that 54 // The group of the tasks run by the current thread. 59 // WaitingForGroup == nullptr means all tasks regardless of their group. 67 // Wait for tasks to be pushed in the queue in processTasks() 69 return !EnableFlag || !Tasks.empty() || in processTasks() 75 if (!EnableFlag && Tasks.empty()) in processTasks() [all …]
|
H A D | SystemUtils.cpp | 1 //===- SystemUtils.cpp - Utilities for low-level system tasks -------------===// 10 // system-specific, tasks.
|
/freebsd/share/man/man9/ |
H A D | taskqueue.9 | 156 Any tasks that are on the queue will be executed at this time after 180 any tasks. 189 To add a task to the list of tasks queued on a taskqueue, call 200 value or at the end of the list if no tasks have a lower priority. 321 function is used to wait for all pending and running tasks that 323 Tasks posted to the taskqueue after 336 running tasks to finish. 338 that tasks will eventually stop being posted to the queue. 343 It prevents any enqueued but not running tasks from being executed. 346 will enqueue tasks, but the tasks will not be run until [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | taskq.h | 88 wmsum_t tqs_tasks_pending; /* tasks waiting to execute */ 89 wmsum_t tqs_tasks_priority; /* hi-pri tasks waiting */ 90 wmsum_t tqs_tasks_total; /* total waiting tasks */ 91 wmsum_t tqs_tasks_delayed; /* tasks deferred to future */ 97 wmsum_t tqs_tasks_dispatched; /* tasks dispatched */ 98 wmsum_t tqs_tasks_dispatched_delayed; /* tasks delayed to future */ 99 wmsum_t tqs_tasks_executed_normal; /* normal pri tasks executed */ 100 wmsum_t tqs_tasks_executed_priority; /* high pri tasks executed */ 101 wmsum_t tqs_tasks_executed; /* total tasks executed */ 102 wmsum_t tqs_tasks_delayed_requeued; /* delayed tasks requeued */ [all …]
|
H A D | sysmacros.h | 88 * 0..MAX_RT_PRIO-1: RT priority tasks 89 * MAX_RT_PRIO..MAX_PRIO-1: SCHED_NORMAL tasks 91 * Treat shim tasks as SCHED_NORMAL tasks
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | task.h | 33 * execute runnable tasks by dispatching the events on the tasks' event 34 * queues. Context switching between tasks is fast. 95 ***** Tasks. 185 * before the task must yield to other tasks waiting to execute. If 574 * task. Waits for any other concurrently executing tasks to finish their 576 * tasks sharing a task manager with 'task'. 594 * allowing other tasks to execute. 633 * isc_taskmgr_setmode(), only tasks with the flag set will be executed, 634 * and all other tasks will wait until they're done. Once all privileged 635 * tasks have finished executing, the task manager will automatically [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_tasking.cpp | 47 // __kmp_trace_task_stack: print the tied tasks from the task stack in order 166 return; // Don't push anything on stack if team or team tasks are serialized in __kmp_push_task_stack() 226 // Don't pop anything from stack if team or team tasks are serialized in __kmp_pop_task_stack() 268 // only descendant of all deferred tied tasks can be scheduled, checking 352 // The function finds the deque of priority tasks with given priority, or 354 // Deques of non-default priority tasks are shared between all threads in team, 355 // as opposed to per-thread deques of tasks with default priority. 362 // Found queue of tasks with given priority. 365 // All current priority queues contain tasks with lower priority. 366 // Allocate new one for given priority tasks. [all …]
|
H A D | kmp_omp.h | 192 offset_and_size_t td_allocated_child_tasks; // child tasks (+ current task) 194 offset_and_size_t td_incomplete_child_tasks; // child tasks not yet complete 205 td_task_count; // number of allocated and not yet complete tasks
|
/freebsd/sys/kern/ |
H A D | subr_gtaskqueue.c | 176 KASSERT(LIST_EMPTY(&queue->tq_active), ("Tasks still running?")); in gtaskqueue_free() 177 KASSERT(queue->tq_callouts == 0, ("Armed timeout tasks")); in gtaskqueue_free() 254 * Block until all currently queued tasks in this taskqueue 255 * have begun execution. Tasks queued during execution of 267 * Enqueue our barrier after all current tasks, but with in gtaskqueue_drain_tq_queue() 268 * the highest priority so that newly queued tasks cannot in gtaskqueue_drain_tq_queue() 279 * Once the barrier has executed, all previously queued tasks in gtaskqueue_drain_tq_queue() 287 * Block until all currently executing tasks for this taskqueue 288 * complete. Tasks that begin execution during the execution 623 * Find the taskq with least # of tasks that doesn't currently have any [all …]
|
H A D | subr_taskqueue.c | 222 KASSERT(LIST_EMPTY(&queue->tq_active), ("Tasks still running?")); in taskqueue_free() 223 KASSERT(queue->tq_callouts == 0, ("Armed timeout tasks")); in taskqueue_free() 264 * Optimise cases when all tasks use small set of priorities. in taskqueue_enqueue_locked() 395 * Block until all currently queued tasks in this taskqueue 396 * have begun execution. Tasks queued during execution of 408 * Enqueue our barrier after all current tasks, but with in taskqueue_drain_tq_queue() 409 * the highest priority so that newly queued tasks cannot in taskqueue_drain_tq_queue() 421 * Once the barrier has executed, all previously queued tasks in taskqueue_drain_tq_queue() 430 * Block until all currently executing tasks for this taskqueue 431 * complete. Tasks that begin execution during the execution
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | TaskDispatch.h | 51 /// Base class for generic tasks. 95 /// Abstract base for classes that dispatch ORC Tasks. 103 /// Called by ExecutionSession. Waits until all tasks have completed. 107 /// Runs all tasks on the current thread.
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-taskq.c | 136 "Create new taskq threads after N sequential tasks"); 140 * taskq is not intended for long-running tasks; instead, a dedicated taskq 231 * of allocated tasks is above tq->tq_maxalloc, but we still in task_alloc() 284 /* Wake tasks blocked in taskq_wait_id() */ in task_done() 482 * id and the next available task id. As tasks are dispatched they are 484 * threads become available the tasks are removed from the heads of these 500 * when the taskq contains delay tasks with small task ids callers may 542 * The taskq_wait_outstanding() function will block until all tasks with a 545 * passed for the id to indicate all tasks dispatch up to this point, 596 * Cancel an already dispatched task given the task id. Still pending tasks [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | task.c | 146 LIST(isc__task_t) tasks; 166 #define FINISHED(m) ((m)->exiting && EMPTY((m)->tasks)) 293 *** Tasks. 308 UNLINK(manager->tasks, task, link); in task_finished() 312 * All tasks have completed and the in task_finished() 372 APPEND(manager->tasks, task, link); in isc__task_create() 1249 * tasks remaining on the current ready queue, then in dispatch() 1399 INIT_LIST(manager->tasks); in isc__taskmgr_create() 1492 * We need to do so, because otherwise the list of tasks could in isc__taskmgr_destroy() 1516 for (task = HEAD(manager->tasks); in isc__taskmgr_destroy() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TaskTimer.h | 22 /// Class used to track the duration of long running tasks related to a single 59 /// Class used to track the duration of long running tasks for reporting. 67 /// The timer object for global tasks.
|
/freebsd/sys/dev/acpica/Osd/ |
H A D | OsdSchedule.c | 53 * Allow the user to tune the maximum number of tasks we may enqueue. 57 0, "Maximum acpi tasks"); 92 * Preallocate some memory for tasks early enough. 118 printf("AcpiOsExecute: enqueue %d pending tasks\n", in acpi_taskq_init()
|
/freebsd/share/man/man4/ |
H A D | polling.4 | 51 tasks (user processes, software interrupts, device handling) 74 some amount of CPU to other tasks. 110 up to this percent of the CPU cycles is reserved to userland tasks,
|
/freebsd/usr.sbin/bsdinstall/partedit/ |
H A D | sade.8 | 36 utility is used for various disk administration tasks on 46 tasks on an already installed system.
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | mediatek,mt8195-scpsys.yaml | 14 power management tasks. The tasks include MTCMOS power
|
/freebsd/sys/contrib/device-tree/Bindings/misc/ |
H A D | qcom,fastrpc.txt | 6 to offload tasks to the DSP and free up the application processor for 7 other tasks.
|
/freebsd/sys/contrib/device-tree/Bindings/soc/ti/ |
H A D | wkup_m3_ipc.txt | 5 (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks 10 API to allow the SoC PM code to execute specific PM tasks.
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/omp/ |
H A D | parallel_for_each.h |
|
H A D | parallel_for.h |
|