StarPU Internal Handbook
Loading...
Searching...
No Matches
prio_deque.h
Go to the documentation of this file.
1/* StarPU --- Runtime system for heterogeneous multicore architectures.
2 *
3 * Copyright (C) 2008-2022 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
4 * Copyright (C) 2016 Uppsala University
5 *
6 * StarPU is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation; either version 2.1 of the License, or (at
9 * your option) any later version.
10 *
11 * StarPU is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 *
15 * See the GNU Lesser General Public License in COPYING.LGPL for more details.
16 */
17
18#ifndef __PRIO_DEQUE_H__
19#define __PRIO_DEQUE_H__
20
21#include <core/task.h>
22
26{
27 struct starpu_task_prio_list list;
28 unsigned ntasks;
29 unsigned nprocessed;
30 // Assumptions:
31 // exp_len is the sum of predicted_length + predicted_tansfer of all tasks in list
32 // exp_start is the time at which the first task of list can start
33 // exp_end = exp_start + exp_end
34 // Careful: those are NOT maintained by the prio_queue operations
35 double exp_start, exp_end, exp_len;
36};
37
38
39
40#endif /* __PRIO_DEQUE_H__ */
Definition prio_deque.h:26