• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/usr/skb/programs/

Lines Matching refs:task

119 % task(functionaddress, clientsocket, minblocksize(sz)).
120 %task(t1, 1, minblocksize(1)).
121 %task(t2, 2, minblocksize(1)).
122 %task(t3, 3, minblocksize(1)).
123 %task(t4, 4, minblocksize(1)).
132 % data entries to define whether the task is compute or memory bound
154 findall(_, (task(Name,ClientID,_),task_status(Name,ClientID,_,_,running)), TaskList),
158 findall(taskname(Name,ClientID), ( task(Name,ClientID,_), task_running_status(Name, ClientID, running)), TaskNames),
164 Task = task(I, N)
175 get_max_parallel(task(_, N), N).
178 findall(S,(task(N,ClientID,_),task_get_max_parallel(N,ClientID,S), task_running_status(N, ClientID,running)),L),
211 foreach(task(J, TaskNama, TaskVar), TaskList),
216 task(_, TaskNama, TCoreList) = TEl,
229 foreach(task(_,TaskNama), TLNames),
230 foreach(task(I, TaskNama, CoreList), TaskList),
253 task(_,_, TaskVarList) = Task,
265 tasklistvariable(task(_, _, Var), Var).
280 % explicit min and max nr threads per task
286 task(_, _, TaskVarList) = Task,
300 task(_, TaskName, TaskVarList) = Task,
309 % this is the main function handling the per task NUMA properties (no global
311 % Actually we cannot specify that one task should evenly spread its threads
313 % region can only have one task on it. This would violate that a massively
314 % parallel task evenly distributes its threads on _all_ NUMA regions. Therefore
316 % If at ll, we would need to make sure that one task only gets a subset of
318 % from the beginning when assigning cores to each task.
325 task(_, TaskName, TaskVarList) = Task,
339 % this function decides which NUMA policy applies to which task
410 task(_, TaskName, TaskVarList) = H,
456 % per task
468 % get all the allocated cores for each task
472 foreach(task(TaskName,AllocatedCores), AllocatedCoresList)
474 task(_, TaskName, CoreList) = Task,
479 % Compute the allocated core difference per task. This difference defines
481 % to the last allocation. Every element contains the task as well as the
482 % core name and an operation (1 = add this core to the task, 0 = remove this
483 % core from this task).
489 task(taskname(Name,TClID), NewCoreList) = Task,
583 % Limit the Parellelism that this task can get
616 ( is_predicate(task/3) ->
617 retractall(task(FunctionAddress, ClID, _))
621 assert(task(FunctionAddress, ClID, minblocksize(MinBlockSize))).
637 ( is_predicate(task/3),task(_, ClID, _) ->
638 retract(task(_, ClID, _))